Click here to Skip to main content
15,912,207 members
Home / Discussions / Database
   

Database

 
GeneralAdding user-defined property to Access db Pin
sharonz28-Dec-04 6:06
sharonz28-Dec-04 6:06 
GeneralADO.net in unmanaged code Pin
MARROT28-Dec-04 4:42
MARROT28-Dec-04 4:42 
GeneralSame SQL Statement in access and in vb.net return difference result Pin
Mekong River27-Dec-04 21:30
Mekong River27-Dec-04 21:30 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
WoutL28-Dec-04 0:38
WoutL28-Dec-04 0:38 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
Mekong River28-Dec-04 10:16
Mekong River28-Dec-04 10:16 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
Mekong River28-Dec-04 14:56
Mekong River28-Dec-04 14:56 
GeneralQuerying CSV file using ODBC Pin
Wayne Phipps27-Dec-04 9:12
Wayne Phipps27-Dec-04 9:12 
GeneralMS-Access insert problem Pin
Imtiaz Murtaza27-Dec-04 0:38
Imtiaz Murtaza27-Dec-04 0:38 
Friends,
I am using MS Access for the first time. Before that,i used SQL-server. The problem is that, in SQL-server, i always ran an insert query successfully. But this query is not running in Access. Letme explain the problem.

In SQL server i have a simple table "Students" with fields 'id', 'StudentName', 'FatherName'. The 'id' field is primary key and is set to "Auto Increment". Now if i need to insert a row in this table i don't need to supply the value of id (if it is set to Auto increment). I always successfully used following query to insert row in this table:

insert into Students values ("Bill", "Gates");

So far so good. Now i have same scenario in MS-Access, same table, same fields and similarly 'id' field is of type "Auto Number". Now, whenever i run the insert query wrote above, MS-Access gives me error that i've not supplied complete arguments. Yes, if i manually give the value of "id" field, the query runs successsfully.

Please tell me how to get rid of manually giving of id value in case of MS-Access.

Imtiaz
GeneralRe: MS-Access insert problem Pin
Rob Graham31-Dec-04 3:54
Rob Graham31-Dec-04 3:54 
Questionhow to use ADO Event with VC6.0? Pin
深蓝26-Dec-04 19:26
深蓝26-Dec-04 19:26 
GeneralCrystal Reports... Pin
dSolariuM26-Dec-04 15:41
dSolariuM26-Dec-04 15:41 
GeneralSql variable Value Problem Pin
Hemant_Mane200325-Dec-04 3:14
sussHemant_Mane200325-Dec-04 3:14 
GeneralLooping Through Table Display Category Hierarchy Pin
tech@untouchable24-Dec-04 9:35
tech@untouchable24-Dec-04 9:35 
GeneralRe: Looping Through Table Display Category Hierarchy Pin
sreejith ss nair27-Dec-04 19:05
sreejith ss nair27-Dec-04 19:05 
GeneralRe: Looping Through Table Display Category Hierarchy Pin
Anonymous28-Dec-04 5:13
Anonymous28-Dec-04 5:13 
GeneralRe: Looping Through Table Display Category Hierarchy Pin
sreejith ss nair28-Dec-04 16:07
sreejith ss nair28-Dec-04 16:07 
QuestionSqlConnection string? Pin
murali_utr24-Dec-04 2:14
murali_utr24-Dec-04 2:14 
AnswerRe: SqlConnection string? Pin
Michael P Butler24-Dec-04 3:45
Michael P Butler24-Dec-04 3:45 
AnswerRe: SqlConnection string? Pin
Colin Angus Mackay24-Dec-04 14:53
Colin Angus Mackay24-Dec-04 14:53 
GeneralRe: SqlConnection string? Pin
johan313127-Dec-04 23:06
johan313127-Dec-04 23:06 
GeneralRe: SqlConnection string? Pin
Colin Angus Mackay28-Dec-04 0:49
Colin Angus Mackay28-Dec-04 0:49 
GeneralRe: SqlConnection string? Pin
Johan Finland228-Dec-04 21:17
sussJohan Finland228-Dec-04 21:17 
GeneralRe: SqlConnection string? Pin
Colin Angus Mackay29-Dec-04 1:27
Colin Angus Mackay29-Dec-04 1:27 
General[SQL] Using 'Like' operator for prepared statement Pin
ppp00123-Dec-04 15:03
ppp00123-Dec-04 15:03 
GeneralRe: [SQL] Using 'Like' operator for prepared statement Pin
GreggS24-Dec-04 2:31
GreggS24-Dec-04 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.