Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In GETFILE need default Filename
Message
 
 
À
09/01/2015 08:50:04
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:
01613344
Vues:
53
>>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform