Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another stupid pet trick (GetFile())
Message
From
10/03/2022 13:03:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/03/2022 12:58:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683793
Message ID:
01683794
Views:
68
>o mage to Doug Hennig (I think)
>
>so here is the trick:
>close databases
>myFIle = GETFILE('XLS', 'SomeFile:', 'Foo') && see image 1
>I am not in the right folder so I select the "navigate up" button.
>immediately i am presented with another getfile dialog looking for a table
>
>to quote Davy Crockett - I'm not lost, just befuddled and bewildered.
>
>i should have this resolved in another 6 or 7 days but i thought i would share my ignorance with the world.

The debugger should even tell you which table it was, that it was looking for.
To me, it looks like the up button somehow got you out of the dialog and then some line right below was supposed to do something with some table, but you closed all, so it's now looking for one.

IOW, immediately before the getfile(), insert a set step on and, well, see what's going on.

back to same old

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

Click here to load this message in the networking platform