Select (lcVariable) &&There are lots of commands that will take the cursor name as a string
...or you can use macro substitution:
Replace &lcVariable..MyField with "Hello World"
...or in certain circumstances you can use Evaluate:
lcMyString = Evaluate(lcVariable + ".MyField")
...I would encourage you to read the help file or look at intellisense to see which commands can except the alias as a string (most will) and which ones need the literal name. In the latter case macro substitution provides what you need and in the former case you already have a variable that contains the name of your cursor so use it with parenthesis around it.
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.