Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Concatenation in Report
Message
From
03/08/1999 17:34:30
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00247065
Message ID:
00249451
Views:
20
Foxpro doesn't have a variable data type that is limited to 256, only character fields in tables... that's wierd.

Well, you don't have to use a report variable, you could declare the variable in the calling procedure, and it should scope to any report function.


>This seemed to work for me - until I started getting very long strings! Are these variables limited to 256 characters or something?
>
>Any ideas for getting around the limitation?
>
>>>I'm needing to concatenate records together into a large string which I will reprint at the bottom of my report. I thought I was clever in planning to do this as a report variable, but it seems report variables can only be numbers....
>>>
>>
>>
>>Report variables can be strings too...
>>
>>I would initialize a report variable and then in the report, call a function from the detail band that does a
>>
>>vMyString = vMyString + SourceTable.Field
>>
>>and then place vMyString in the footer.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform