M
Max
Hi,
I am using DAO to create a field called BEVerNo in a linked table called
UserOptions.
The field is created without any problems.
I then run an SQL statement to set the value to 1. First time through the
code
does not work, second time it does. The createtablefield code is generic and
I cannot set the value
of BEVerNo at the time the field is created.
I have tried DoEvents prior to the SQL but it does not make any difference.
The SQL is:
DoCmd.RunSQL "UPDATE UserOptions SET UserOptions.BEVerNo = 1 WHERE
((UserOptions.UserOptionsID)=1);"
Any suggestions?
Max
I am using DAO to create a field called BEVerNo in a linked table called
UserOptions.
The field is created without any problems.
I then run an SQL statement to set the value to 1. First time through the
code
does not work, second time it does. The createtablefield code is generic and
I cannot set the value
of BEVerNo at the time the field is created.
I have tried DoEvents prior to the SQL but it does not make any difference.
The SQL is:
DoCmd.RunSQL "UPDATE UserOptions SET UserOptions.BEVerNo = 1 WHERE
((UserOptions.UserOptionsID)=1);"
Any suggestions?
Max