Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a temp. file
Message
De
24/06/1998 23:04:17
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
24/06/1998 23:00:02
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111140
Message ID:
00111442
Vues:
16
>>Hi Jayesh, have question again
>>
>>If my file is setting order to "COMPANY_NAME",
>> do i need to set the order to "ORDER_NO" before run SQL ...WHILE ORDER_NO="12345"
>>
>>****************
>>
>>I want make temp. file name from sys(3) and come with a alias name = "T_ASS2"
>>
>>I have coding as below :
>>
>>
>>III = SYS(3)+".DBF"
>>
>>SELECT * FROM order_items
>>WHERE order_no == "12345"
>>INTO TABLE &III
>>
>>
>>***how to addin the alias name = "T_ASS2"
>Immediately following your select statement
>issue...
>USE (III) ALIAS T_ASS2
Unless you need to keep the temp file for other reasons, it is much better to use...

SELECT * FROM order_items WHERE order_no == "12345" INTO CURSOR T_ASS2

This way the file is automatically deleted upon exiting or closing of the file, otherwise you will need to have some way of cleaning up your temp files that will wind up cluttering your system.
>>
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform