Board index » delphi » Create new fields in a MS Access db via ado
Ed
![]() Delphi Developer |
Wed, 24 Nov 2004 11:43:19 GMT
Create new fields in a MS Access db via ado
I have a access db and need to create some new fields in it and I'm having
some trouble. Here is what I'm doing, whats working and whats not: 1. Using A ADOQuery component with sql: Alter table MyTable Add Column NewField {Type} * If FType = 'Integer' then SQL.Add('ADD COLUMN '+FNAME+' Integer'); * worked. I couldn't get the Date and Boolean fields to create no matter Thanks, |