Requirements:
Answer 1 simple question and provide an example unit and procedure with less than 3 lines of code.
Details:
When opening a query in Delphi you would use this code.
[login to view URL];
The examplequery has sql tstrings like this.
select * from exampletable
A query must be opened to enter edit or insert mode (which neither is a lookup) because action cannot be performed on a closed dataset.
The Question is : How do you open a query and return 0 results but still can append or insert ?