Hello,
I have the following problem.
I have a form that contains a frame and on this frame is a datasource component that is connected to a Interbase Dataset component. This Interbase dataset component contains the following SelectSQL statement:
Select *
from Customer C
Where C.CustomerNr =
CUSTOMERNR
I don't manage to get the parameter "pCUSTOMERNR" to be set from within my form. I perform the following call:
(frameCustomer.dsrcDataSetCustomer.DataSet AS TIBDataset).Params.ByName('pCUSTOMERNR').AsString := '1';
The statement is executed but the SQL statement is not modified. Any ideas anyone ?
Greetings,
Pascal.
I have the following problem.
I have a form that contains a frame and on this frame is a datasource component that is connected to a Interbase Dataset component. This Interbase dataset component contains the following SelectSQL statement:
Select *
from Customer C
Where C.CustomerNr =
I don't manage to get the parameter "pCUSTOMERNR" to be set from within my form. I perform the following call:
(frameCustomer.dsrcDataSetCustomer.DataSet AS TIBDataset).Params.ByName('pCUSTOMERNR').AsString := '1';
The statement is executed but the SQL statement is not modified. Any ideas anyone ?
Greetings,
Pascal.