Subject | Params ? not working, ? or master detail relationship. HELP PLEASE! |
---|---|
Author | adrian |
Post date | 2004-04-10T17:00:56Z |
I upgraded to the latest release, and then did a build all.
Previously this module was working just fine.
Now it returns no records
{Master}
PraxData.IODIBOQuery.Active := True;
{Childs datasource is set}
PraxData.PPatientQuery.DataSource := PraxData.IODDataSource;
PraxData.PPatientQuery.SQL.Clear;
PraxData.PPatientQuery.SQL.Add('SELECT * FROM PATIENT WHERE
PATIENTID=:IODPATID');
PraxData.PPatientQuery.Open;
PraxData.PPatientQuery.Active := True;
Previously PPAtientQuery would be populated with data, now it isn't.
I have changed none of my source code at all!
Has it got something to do with the parameter.
The PPatientQuery is in a DATAMODULE, and I'm using TIBOQuery's
The original PPatientQuery definition doesn't have any parameters. It is
just in this code portion that a parameter is required.
Thanks Adrian
[Non-text portions of this message have been removed]
Previously this module was working just fine.
Now it returns no records
{Master}
PraxData.IODIBOQuery.Active := True;
{Childs datasource is set}
PraxData.PPatientQuery.DataSource := PraxData.IODDataSource;
PraxData.PPatientQuery.SQL.Clear;
PraxData.PPatientQuery.SQL.Add('SELECT * FROM PATIENT WHERE
PATIENTID=:IODPATID');
PraxData.PPatientQuery.Open;
PraxData.PPatientQuery.Active := True;
Previously PPAtientQuery would be populated with data, now it isn't.
I have changed none of my source code at all!
Has it got something to do with the parameter.
The PPatientQuery is in a DATAMODULE, and I'm using TIBOQuery's
The original PPatientQuery definition doesn't have any parameters. It is
just in this code portion that a parameter is required.
Thanks Adrian
[Non-text portions of this message have been removed]