Hallo!
ich habe ein Programm gemacht und ein SQL query:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7:
| <ol type="1"><li>qSQL.Close; qSQL.Params.Clear; qSQL.SQL.Clear;
qSQL.SQL.Add('SELECT Name, Surname, DateOfBirth, Address, Phone1, Phone2 FROM Player WHERE August="False" ');
qSQL.Open; |
Ich versuche:
Delphi-Quelltext
1:
| DBGridSubscriptions.DataSource.DataSet := qSQL; |
um meinem DBGrid auszufullen aber nehme ich:
---------------------------
MyProject
---------------------------
Access violation at address 00480465 in module 'MyProject.exe'. Read of address 00000030.
---------------------------
OK
---------------------------
Wie kann mann das DBGrid ausfullen?
Danke!