Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another stupid pet trick (GetFile())
Message
From
10/03/2022 13:20:40
 
 
To
10/03/2022 13:17:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683793
Message ID:
01683798
Views:
38
>>>>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.
>>
>>Dragan Thanks for the reply.
>>i have tried to distill it down to the lowest common denominator.
>>I start my app and then while at the main menu, i suspend to the command window.
>>in the command window i issue:
>>Close Databases
>>Next I issue:
>>myFIle = GETFILE('XLS', 'SomeFile:', 'Foo')
>>Then i click the "navigate up" button.
>>Immediately image # 2 appears.
>
>Are there any timers in your application?
>
>Tamar

YES!
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Previous
Reply
Map
View

Click here to load this message in the networking platform