Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loop through record's fields
Message
From
19/09/2007 13:13:20
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01255535
Message ID:
01255553
Views:
16
>>I'm getting "operator/operand mismatch" on this line:
>>
>>
>>	       lcString = lcString + EVALUATE(FIELDS(lnFor,ALIAS())) + [,]
>>
>>
>>
>>
>Sorry, it should be:
>
>   lcString = lcString + TRANSFORM(EVALUATE(FIELDS(lnFor,ALIAS()))) + [,]
>
Ok, I got it. I had to set lcString to '' first.

But now, how do I get rid of all the ',' that are getting put into my empty fields? I want them to stay empty in the string.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform