Have you run the code twice, it must be open
Al

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of MB Software Solutions, LLC
Sent: 16 March 2010 23:51
To: [email protected]
Subject: How could this error happen? (VFP9SP1 free tables on LAN)

Here's the code:

nID = erl_sub.idnum
sele a.pmf, a.mu_date, b.date, b.time,;
        b.sesid, .F. as SesXRec, a.attmark;
        from seats a, sessions b;
        where a.sesid = b.sesid;
                and a.erlsubid = nID;
                and b.date > dNewStop;
union select c.pmf, c.mu_date, b.date, b.time,;
        b.sesid, .T. as SesXRec, 0 as attmark;
        from sessionx c, sessions b;
        where c.sesid = b.sesid;
                and c.erlsubid = nID;
                and b.date > dNewStop;
        into cursor TempSes


Often users are getting "Error 24 - Alias name is already in use."  How 
can that be?  If cursor TempSes existed already, wouldn't it just be 
overwritten?  If this perhaps due to some other area of code having a 
temporary DBF open called TempSes?


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000c01cac55e$1a379b50$4ea6d1...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to