J
Jochem Davids
Hi fellow Access-coders ;x
To add a column_name with datatype, you use:
ALTER TABLE table_name
ADD column_name datatype
To add a column Id with AUTOINCREMENT, you use:
ALTER TABLE table_name
ADD COLUMN Id
AUTOINCREMENT
Now I want to add a column, Year with the present Year. And a column with
the present month 1 (January), 2 (February) etc. (Just the 1,2,3 etc will
do).
Can anybody help me with this??
Ps. It is possible to use the year and moth from my Form1, and start the Sql
with a Macro (RunSql).
To add a column_name with datatype, you use:
ALTER TABLE table_name
ADD column_name datatype
To add a column Id with AUTOINCREMENT, you use:
ALTER TABLE table_name
ADD COLUMN Id
AUTOINCREMENT
Now I want to add a column, Year with the present Year. And a column with
the present month 1 (January), 2 (February) etc. (Just the 1,2,3 etc will
do).
Can anybody help me with this??
Ps. It is possible to use the year and moth from my Form1, and start the Sql
with a Macro (RunSql).