How to open TZStoredProc?
Posted: 30.05.2008, 00:50
Zeos 6.6.2-RC / Firebird 2.1.1.17910 embedded / D2007
What is the proper way to open a TZStoredProc which has a SELECT statement ?
Active := True
or
ExecSQL
or
ExecProc
or
Open ???
TDBGrid is linked to TDataSource which is linked to TZStoredProc.
Upon executing the Open statement, I get the field headings in the DBGrid, but there is no data in there.
But if I set Active = True in the designer, then I can see the data in the DBGrid.
What is the problem?
Thanks in advance,
ND
What is the proper way to open a TZStoredProc which has a SELECT statement ?
Active := True
or
ExecSQL
or
ExecProc
or
Open ???
TDBGrid is linked to TDataSource which is linked to TZStoredProc.
Upon executing the Open statement, I get the field headings in the DBGrid, but there is no data in there.
But if I set Active = True in the designer, then I can see the data in the DBGrid.
What is the problem?
Thanks in advance,
ND