Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call Procedure within report?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00249477
Message ID:
00249575
Views:
16
>>>I cannot seem to figure out how to call a procedure from a report which basically concatenates fields into one long string which I can then print out at the bottom of the report.
>>>
>>>I have tried using a report variable, which works until you get beyond 255 characters. It was suggested that I call a function (which I would put into my scaffold.prg) which would do the concatenation, and then I could plop the whole darned string at the bottom of my report.
>>>
>>>I've tried calling this procedure from a non-printing field in the report CatString(field1+field2), but it never seems to call the procedure.
>>>
>>>Any advise?
>>>
>>>TIA
>>
>>Put the call in a printing field, as long as the function returns the value to print.
>
>Ahhhh.... If the field doesn't print, the call won't get executed? I'll give it a try.

Correct. If you have some kind of function that you need to execute, but it doesn't return anything to print, make sure it returns an empty string, ie: "".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform