Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
So let's here about filenames that cause problems.....
Message
From
11/07/1998 02:56:07
 
 
To
10/07/1998 09:29:48
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116077
Message ID:
00116434
Views:
16
>>I would like to hear from those who have had
>>problems due to filenames used in vfp.
>>
>>Thanks and have a great day.
>>
>>Becky
>1) Make sure that your file names are not actually VFP reserved words like KEY,CURSOR,STATUS,INDEX
>
>2) In a multi-user environment ALWAYS use unique names for temp files and tables, for example...
>
>STORE SYS(2015) TO tempdbf
>SELECT * FROM mytable INTO TABLE (tempdbf)
>USE (tempdbf) ALIAS TEMPFILE1
>.
>.
>(your procs)
>.
>.
>USE IN TEMPFILE1
>ERASE (tempdbf+".dbf")
>
>//:^)

Hi Larry,
Not a problem if you create tables from cursors ...

SELECT * FROM MyTable INTO CURSOR C_X NOFILTER
SELECT 0
USE DBF("C_X") AGAIN ALIAS T_X EXCLUSIVE && cursor is now fully read/write!
USE IN C_X
* do what ever with T_X
USE IN T_X && it's gone completely
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform