B
Bill
In the course of inserting a new record into a table:
CurrentDb.Execute NewWorksSQL, dbFailOnError
I want to add a new field name and value as the SQL
string is constructed. The field is defined as ShortDate
in the target table and initially wouldn't have a value.
I Dim'd a temporary variable in my code-sheet to use
as the table's initial field value, but SQL continuously
gives errors for everything I've tried.
Given that the table field is of type "ShortDate", what do I
use in the SQL VALUE list when the table field is empty?
Thanks,
Bill
CurrentDb.Execute NewWorksSQL, dbFailOnError
I want to add a new field name and value as the SQL
string is constructed. The field is defined as ShortDate
in the target table and initially wouldn't have a value.
I Dim'd a temporary variable in my code-sheet to use
as the table's initial field value, but SQL continuously
gives errors for everything I've tried.
Given that the table field is of type "ShortDate", what do I
use in the SQL VALUE list when the table field is empty?
Thanks,
Bill