sleeplessnights
IS-IT--Management
HI,
I've mad a database in MS sql 2000 server
and with a visual basic project i'm trying
to edit a table this works fine if I input the values
as '100' but when I want to refer to a field from
a form for instants field IDNR I get the error
Run-time error 40002
37000 :[Pervasive][ODBC Client Interface][LNA][Pervasive]
[ODBC Engine Interface]Syntax Error : Insert Into
H0900(IserIDNR) values (IDNR<<???>>)
I looked this up on microsoft and found that I need to
use :
SQL = "Insert into H0900(UserIDNR) values (IDNR)"
cn.execute SQL SQLExecDirect
but I still get the same error
could someone point me in the wright direction
Kind Regards
Kevin
I've mad a database in MS sql 2000 server
and with a visual basic project i'm trying
to edit a table this works fine if I input the values
as '100' but when I want to refer to a field from
a form for instants field IDNR I get the error
Run-time error 40002
37000 :[Pervasive][ODBC Client Interface][LNA][Pervasive]
[ODBC Engine Interface]Syntax Error : Insert Into
H0900(IserIDNR) values (IDNR<<???>>)
I looked this up on microsoft and found that I need to
use :
SQL = "Insert into H0900(UserIDNR) values (IDNR)"
cn.execute SQL SQLExecDirect
but I still get the same error
could someone point me in the wright direction
Kind Regards
Kevin