Automatic insert of " all nulls " in db grid
Posted: Mon 15 Mar 2010 08:44
Hi,
When I have connected a dataset to a DBGrid of some sort, trying to insert all "nulls" seems to fail with a statement generated:
I guess this is because none of the columns are edited (filled by the user) and you don't want to explicitly set NULL.
How can I work around this? Currently, an SQL error is raised, can this be handled better by the components?
With regards,
Martijn Tonies
Upscene Productions
When I have connected a dataset to a DBGrid of some sort, trying to insert all "nulls" seems to fail with a statement generated:
Code: Select all
INSERT INTO ()
VALUES ()
How can I work around this? Currently, an SQL error is raised, can this be handled better by the components?
With regards,
Martijn Tonies
Upscene Productions