B
Bre-x
Hi
How do I set the a field default value?
Dim var_empid as Integer
Dim var_sql as String
var_empid = 34
var_sql = "ALTER TABLE Local_gl ALTER COLUMN gl_empid INTEGER DEFAULT " &
var_empid
DoCmd.SetWarnings False
DoCmd.RunSQL var_sql
DoCmd.SetWarnings True
Thank you All!!!
Bre-x
How do I set the a field default value?
Dim var_empid as Integer
Dim var_sql as String
var_empid = 34
var_sql = "ALTER TABLE Local_gl ALTER COLUMN gl_empid INTEGER DEFAULT " &
var_empid
DoCmd.SetWarnings False
DoCmd.RunSQL var_sql
DoCmd.SetWarnings True
Thank you All!!!
Bre-x