Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program question
Message
From
11/11/2002 09:46:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00720963
Message ID:
00720973
Views:
13
>hi all:
>
>I have this section of code in an application and works fine in 2.6 but gives me an error in vfp7 when I run the application with this code. Can anyone tell me how to fix this problem...
>
>PM
>
>
>*********************
>** Load Database
>*********************
>indbf = GETFILE('DBF',' Open .DBF: ', 'Open',0)
>
>use &indbf in 0 alias input
>select input
>
>return

Perhaps you file has spaces.

Instead of:
use &indbf
use this:
use (indbf)
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform