Subject | Re: [IBO] Params ? not working, ? or master detail relationship. HELP PLEASE! |
---|---|
Author | Matthias Heyberg |
Post date | 2004-04-10T21:18:30Z |
adrian wrote:
the parameters do not work correctly on the latestes releases. The
problem is promised to be solved with the next subrelease. Meanwhile, go
back to at least 4.2Ie, thats the last one that is working for me.
regards,
Matthias
>I upgraded to the latest release, and then did a build all.Hi,
>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]
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
the parameters do not work correctly on the latestes releases. The
problem is promised to be solved with the next subrelease. Meanwhile, go
back to at least 4.2Ie, thats the last one that is working for me.
regards,
Matthias