Wiki Home

Reuse An Alias

Namespace: WIN_COM_API
Reuse an Alias
This might not be the most useful piece of code to most programmers, but I'm new and I couldn't find the answer to this anywhere.

When I have an alias which I already have used once and wish to reuse it, how do I go about doing this.


IF USED('tmpXMLJobs_item')
USE IN tmpXMLJobs_item

This example is from when I had to import an XML to a cursor and then reuse that same cursor. Nobody may use this, but it's here for the
all the new FoxPro programmers that haven't a clue, like me.

Atish Ram Chandra

You can do this in one line:
USE IN SELECT("tmpXMLJobs_item")
( Topic last updated: 2007.02.20 11:11:00 AM )