Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ClientDataSets : "Parameter not set in query string"

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I'm developing a Delphi 5 application and am making use of queries and clientdatasets with a SQL Server database back-end. When I link two queries (and their respective clientdatasets) I am given the error message "Parameter not set in query string." when I attempt to open the detail clientdataset (linked to a header clientdataset).
Can anyone suggest what I might be dooing wrong ?
Thanks in advance.
Steve.
 
I guess the queries you used have parameter set but you donot provide any parameter value in clientdataset. So you need to add parameter value in ClientDataSet.

please see TClientDataSet.Params online help for details.

Regards! zallen@cmmail.com
ICQ:101229409
Long live of freedom!
 
Is there something similar to TClientDataSet.Params for Delphi 1.0?? I can't seem to find this for Delphi 1 (which I am using)
 
I think it's like zallen is writing.

Can it be something about the SQL-query itself?
If you have done something like this in the query :Something
you have done a parameter, and then you'll have to add a parameter string, or rewrite the query.





Andreas Nordlund
Software developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top