Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select into Command
Message
From
17/05/2002 08:01:10
 
 
To
17/05/2002 07:21:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658059
Message ID:
00658081
Views:
22
Try this , it has variables declared at the beginning....

vOrderNo = 6048
vSampleText=''
vSampleNo=0
SELECT service.order_no as "orderno",;
servinv.mfg_part as "mfgpart",;
servinv.part_number as "desc",;
vSampleText as "sampleText",;
123 as "vSampleNo",;
servinv.qtyord,servinv.new_used;
FROM sys2000!servinv INNER JOIN sys2000!service ;
ON servinv.sonum = service.order_no ;
WHERE service.order_no = vOrderno ;
ORDER BY servinv.mfg_part;
INTO CURSOR parts NOFILTER

SELECT parts
brow

You can then use the cursor (or alias) and insert in anything you want in the 'temp' fields.

Bryan Holsmtrom
Previous
Reply
Map
View

Click here to load this message in the networking platform