Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNION SELECT... please correct me
Message
From
27/10/1998 07:42:48
 
 
To
27/10/1998 06:50:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00150818
Message ID:
00150839
Views:
22
Hi Jim
Excuse. I will take it in the future messages.

>>
>>My code:
>>SELECT TOP 1 * ;
>>FROM myDatabase!myTable ;
>> WHERE myTable.cod = pCod ;
>> AND myTable.price >=pPrice ;
>> UNION ;
------------------------ THE NEXT LINE WITH ERROR
------------ "Command is missing required clause "
>> SELECT TOP 1 *;
>> FROM myDatabase!myTable;
>> WHERE myTable.cod = pCod ;
>> AND myTable.price <=pPrice ;
>>ORDER BY mytable.price ;
>>INTO CURSOR curPrice
>>
>>I receive error message... What the problem ?... OR I do't use TOP 1 AND UNION ?
>>Thanks for your messages.
>>Denis.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform