"The Parameter is Incorrect" error
When a field is dragged from the data tree to a report band an error is generated saying "The parameter is
incorrect". This only effects one particular field (8000 char text field), all others are ok.
The main problem is that this only happens on a client site, I can perform the same action on our test system and the
field is dragged and dropped okay and I can import the client reports into our system, again, without any errors.
Anyone any ideas, there's no indication of what parameter is incorrect?
Regards
Cary
Delphi 7 Architect
Direct Oracle Access 4.05
ReportBuilder Enterprise 7.03
incorrect". This only effects one particular field (8000 char text field), all others are ok.
The main problem is that this only happens on a client site, I can perform the same action on our test system and the
field is dragged and dropped okay and I can import the client reports into our system, again, without any errors.
Anyone any ideas, there's no indication of what parameter is incorrect?
Regards
Cary
Delphi 7 Architect
Direct Oracle Access 4.05
ReportBuilder Enterprise 7.03
This discussion has been closed.
Comments
dropped on the designer (although I still don't understand why I can't duplicate the error on our systems).
Is there a method available to stop autosizing on drag and drop and set the field to a fixed size?
Thanks,
Cary.
Check out the TppLayoutFactory class defined in ppRptWiz.pas. This class can
be replaced with your own custom descendant class. This class is used by the
report wizard and the data tree drag-n-drop. There is a SetComponentSize
method that you can override. To register class add the following to the
initialization section of your unit:
gcLayoutFactory := TmyLayoutFactory;
--
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
setting the DisplayWidth property in the pipeline field definition to 50
instead of 8000 seems to have solved the issue in the short-term.
Regards,
Cary.
Yes, that will work also.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com