B
Boon
Hi,
I would like to know what is the best way to handle this problem.
I use Docmd.runSQL .........INSERT in to the table.
Now in the SQL commannd I have a variable in it. That variable reads the
text from the textbox in the form. Now, when the textbox left blank, the
variable is null, and the SQLcommand is error.
What is the best way of preventing this? My idea is to use IF
isnull(variable) THEN variable=0.
thanks.
I would like to know what is the best way to handle this problem.
I use Docmd.runSQL .........INSERT in to the table.
Now in the SQL commannd I have a variable in it. That variable reads the
text from the textbox in the form. Now, when the textbox left blank, the
variable is null, and the SQLcommand is error.
What is the best way of preventing this? My idea is to use IF
isnull(variable) THEN variable=0.
thanks.