I'm new to Delphi7.
When I try to use the editor's "Add all fields" feature on a TClientDataSet object a messagebox (the classic error message box) appear with the message "No value for parameter '(the name of the parameter)'".
I can't add fields using the "all fields" feature anymore.
How can I find the source of the "No value for parameter" error?
The problem is (most likely) that the ClientDataSet is not filled with any data.
Lacking data, no fields can be listed.
Do the following:
connection
property to connection1.tablename
property to a valid table; set active
to true. datasetprovider
on the form. [datasetprovider1] dataset
to table1. providername
of cds1 to datasetprovider1.cds1.Active
to trueNow you can select fields, because now the cds holds actual data.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With