Link to home
Start Free TrialLog in
Avatar of teustace
teustaceFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Default value won't insert on new row

I have two default values on two columns. One is GetDate() the other is an integer (6). I am developing a visual basic form based on my database table. When I enter a new row, be it from the form or direct into the db table, the default values will not populate the table unless I re-run the ! SQL. Do I need to create a trigger and if so what is the code? The columns are currently set to NOT NULL.
Avatar of CMYScott
CMYScott
Flag of United States of America image

can you show the code you are using to insert the rows?
ASKER CERTIFIED SOLUTION
Avatar of teustace
teustace
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial