Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Creation for database pathname
Message
From
14/07/1998 16:54:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116745
Message ID:
00117326
Views:
17
>lcDir = Thisform.text1.Value + 'eo.dbf'
>IF FILE(lcDir)
> SET SAFETY OFF
> *-- save in table
> gacPath[1] = Thisform.text1.Value
> lcFname = m.home + 'config'
> SAVE TO &lcFname ALL LIKE gacPath*
> SET SAFETY ON

Run this with debugger open, and keep checking for values of all this:

> gacPath[1] = Thisform.text1.Value
> lcFname = m.home + 'config'
> SAVE TO &lcFname ALL LIKE gacPath*

Specially check whether lcFname contains a valid path/filename, and if the array gacPath has been dimensioned.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform