>Hi,
>
>I have a problem. When I try to use the simple command SELECT cView, it returns me an error. Alias cannot be found. There is a way around that, but I can't find it.
Hi,
That sounds like like a name-expression issue to me...
When you have an open alias named 'cView', then USED('cView') returns true and you can 'SELECT cView'.
But when you have a name expression, e.g. a local variable 'cView' that contains the alias name as a string, then you'd need to put the quotes differently:
Local cView
cView = "theAlias"
Use theTable In 0 Again Alias (cView)
? Used(cView)
? Used(theAlias)
? Used("cView")
? Used("theAlias")
Select theAlias
Select (cView)
hth
-Stefan