I would like to use an Insert Into query in Delphi XE2 to insert a user\'s information into a MS Access Database. The problem is I keep getting the same error:<
Insert Into
PASSWORD is a reserved word in Access so if you use it as a column name you must enclose it in square brackets.
PASSWORD
Try this instead:
DB.SQL.Add('INSERT INTO tblUsers '); DB.SQL.Add('(FirstName,Surname,Username,[Password],Grade) ');