Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in vfp9 not in vfp8
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01014630
Message ID:
01014658
Views:
21
>I only included a portion of code that I am using in the program. The app actual uses macro expansion to determine which label gets the caption set. This is a housing program and each label represents a different room number and who is housed in the rooms.

As an example of what Sergey is saying, in your case, you probably can substitute the macro with something like:
lcLabelName = 'thisform.lblRoom.caption'
store m.cName to (lcLabelName)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform