Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In GETFILE need default Filename
Message
De
09/01/2015 09:00:14
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
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:
01613345
Vues:
45
>>>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).

Other folks work around this by using a listbox / grid with the reports available. So the user also does not pick one not fitting to the data :)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform