This error is usually associated with trying to access an element of an array that doesn't exist. However in your select I would specify the table or cursor each field is selected from...
SELECT table.projectid,table.name,table.typeid,etc...
>The following SELECT statement causes an "Invalid Subscript Reference" error when run over a Citrix server:
>
>
>SELECT projectid,name,typeid,biddue,tonnage,status,division,projects.salesreid,;
>lastactivity FROM projects,curDivId,curSalesId WHERE projects.division =;
>curDivId.DivisionId AND projects.salesrepid = curSalesId.salesrepid INTO;
>CURSOR curProj
>
>When I run this on my local machine or even over the local network it runs fine.
>What am I doing wrong? Is there a better way to write this SELECT statement?
>
>Thanks in advance for your help,
>Russell Clendenon
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California