Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In GETFILE need default Filename
Message
De
09/01/2015 09:05:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01613339
Message ID:
01613346
Vues:
44
>>>Anyway to get a default FileName already typed in for this user so he doesn't have to pick one if he would just like to select the default one I gave? (like LOCFILE does)? I can't use LOCFILE as that will pick the file if in fact it does exist.
>>>
>>>Thanks in advance.....
>>>
>>>Mel
>>
>>Not that I am aware of. But why do you want this? I would suggest a messagebox asking if he/she wants to accept the default file name. If not, then he gets the getfile interface.
>
>It is a little unusual why I would like this and its not a deal breaker if I just continue to use GETFILE as I have used something like GETFILE() for a couple decades. I allow users to modify 100% of all reports and when the list of the default reports appear through GETFILE() it would be a nice to have the one already in the typed box. I don't force this report to be selected, as they might wish to select a different report to make the modification from. Then, they save the report to a special folder which can be selected and used in the future (I never allow them to actually save the default report I shipped).

I would create my own form or class for this, with a grid for all the relevant files, and make sure that the file in question is highlighted. Just a suggestion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform