I am doing a PAT for school and I am doing the following how can I correct it. I want to send an entered email address, name, Id number, birth date, gender, town and all is string my statement is:
Adoquery1.sql.text := 'insert into besprekings
values('email', 'name', 'Id', 'birth', 'gender', 'town')';
The fields are as follows:
Email(string), Name(string), ID(string), Birth(string), Gender(string), town(string)
This is not really homework it is a project that counts 25% of my years mark. I have finished everything but can't get this right. We have to bring in something new that we haven't learned in school and for me that is opening programs like mail(windows 8) and doing this I really apreciate everybody trying to help.
INSERTquery, then do it likeINSERT INTO (Column1, Column2) VALUES (Value1, Value2).