>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