GetAutoSearchDescriptionLines problem
RB7.02 D6 EndUser DADE with rap
I use the GetAutoSearchDescriptionLines method to put out the values
in the title page. I have a report that has an autosearch criteria
that uses a select clause such as:
Field is ID (a numeric)
Operator is inList
Value is Select id from customer where name like 'S%'
The query and report work fine but if you use the
GetAutoSearchDescriptionLines method it throws an error. I think it
is trying to convert the value to an integer in the ConvertValue
method.
How do I get around this?
Thanks,
Rick Matthews
Dartek Systems Inc.
I use the GetAutoSearchDescriptionLines method to put out the values
in the title page. I have a report that has an autosearch criteria
that uses a select clause such as:
Field is ID (a numeric)
Operator is inList
Value is Select id from customer where name like 'S%'
The query and report work fine but if you use the
GetAutoSearchDescriptionLines method it throws an error. I think it
is trying to convert the value to an integer in the ConvertValue
method.
How do I get around this?
Thanks,
Rick Matthews
Dartek Systems Inc.
This discussion has been closed.
Comments
in tests here. Can you reproduce this problem with our demos?
You don't have to use the GetAutosearchDescriptionLines, but rather you can
build your own description by looping through the Report.AutosearchFields
array proeprty checking Report.AutosearchFieldCount. Then once you pull out
a TppAutosearchField, you can reference its value and description. See the
help on TppAutosearchField for more info on its members.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
No, as I said it was Dade.
I have emailed an example using your report explorer end user demo
that shows the error.
Cheers,
BTW- We did not receive a demo for this issue.Can you resend it to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
"GetAutosearchDescriptionLines sample".
Cheers,
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
search criteria and then calling Report.GetAutosearchDescriptionLines.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com