>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)