General information
Category:
Coding, syntax & commands
Hi Marcia.. it is a typo
I have adopted your approach which works fine, but I was really wondering was there any way of using alias's that are created on a form.
(In the way, for instance, any ALIAS's in the dataenvironment can just be Used if the calling screen is a private data session and the called screen is a default data session ?
Regards,
Gerard
>Hi Gerard.
>
>Select * from AnyTable into Cursor MYTABLE
>Use
>Use MyTable in 0 alias 'TEM'
>
>I am surprised that this doesn't hand you back an error. Or is this a typo? The first USE statement closes the cursor you just created. So by the time you get to the next line, if the line did not have syntax errors in it, the cursor would no longer exist.
>
>Are there other ways to directly do a Select Tem on the clled form ?
>
>Provided that the cursor 'MyTable' exists:
>
>USE DBF( 'MyTable' ) AGAIN IN 0 ALIAS Tem
>
>Happy Holidays.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only