I try to add new colums to a table.
First line works fine
Second line works fine also
Third line gives a syntaxis error; I want to set also the default value in the new field (What is wrong)
1. db.Execute "ALTER TABLE Facturen ADD COLUMN Credittekst Text 25"
2. db.Execute "ALTER TABLE Facturen ADD COLUMN CreditBedrag Currency"
3. db.Execute "ALTER TABLE Facturen ADD COLUMN DebitBedrag Currency DEFAULT 0"
Thanks for your help on forehand
Willem
First line works fine
Second line works fine also
Third line gives a syntaxis error; I want to set also the default value in the new field (What is wrong)
1. db.Execute "ALTER TABLE Facturen ADD COLUMN Credittekst Text 25"
2. db.Execute "ALTER TABLE Facturen ADD COLUMN CreditBedrag Currency"
3. db.Execute "ALTER TABLE Facturen ADD COLUMN DebitBedrag Currency DEFAULT 0"
Thanks for your help on forehand
Willem