H
Haroon
hi
i made a template and vb form for user to enter data and the bookmarks also
get saved in ms access database, i want to find out if i can insert few
fields in ms access database, i have this code which inserts data into ms
access database,
strSQL = "INSERT INTO Time_Costs " & "VALUES (" & strOurRef & ", " &
strTodaysDate & ", " & strTotal & ", " & strTotal2 & ", " & strLetterType &
", " & 0 & ", " & strPaid & ")"
...with the rest of the code, which works fine, i have to match the number of
columns with the number of bookmarks in order for this to work, e.g. if i am
inserting 6 colums, i should have 6 columns filled with data in ms
access,otherwise it wont work.
anyone knows work around this?
cheers.
i made a template and vb form for user to enter data and the bookmarks also
get saved in ms access database, i want to find out if i can insert few
fields in ms access database, i have this code which inserts data into ms
access database,
strSQL = "INSERT INTO Time_Costs " & "VALUES (" & strOurRef & ", " &
strTodaysDate & ", " & strTotal & ", " & strTotal2 & ", " & strLetterType &
", " & 0 & ", " & strPaid & ")"
...with the rest of the code, which works fine, i have to match the number of
columns with the number of bookmarks in order for this to work, e.g. if i am
inserting 6 colums, i should have 6 columns filled with data in ms
access,otherwise it wont work.
anyone knows work around this?
cheers.