Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another stupid pet trick (GetFile())
Message
De
10/03/2022 13:16:23
 
 
À
10/03/2022 13:12:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01683793
Message ID:
01683796
Vues:
37
>>>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.

no doubt something in the environment since this does not occur if i am in the command window without my app running.
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform