Ingonito
Technical User
- Jan 28, 2006
- 3
I have 2 forms. MainForm and ChildForm.
ChildForm includes Query.component and Datasource-component.
And Edit-box where I can write sql-sentence.
I write to the edit-box: select *from Table. And everything is working.
BUT. Now when I close this ChildForm Program crash. I get error:
Does anyone have some solution or hint how I can fix this problem ?
Close-buttons code are:
Query->Close();
ChildForm->Close()
ChildForm includes Query.component and Datasource-component.
And Edit-box where I can write sql-sentence.
I write to the edit-box: select *from Table. And everything is working.
BUT. Now when I close this ChildForm Program crash. I get error:
Code:
Project projekti2.exe raised exception class EAccessViolation with message 'Access violation at address
40056CB1 in module 'VCL50.BPL'. Read address 0000022c'.
Process stopped. Use Step to Run to Continue
Does anyone have some solution or hint how I can fix this problem ?
Close-buttons code are:
Query->Close();
ChildForm->Close()