Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open and Save reports 'quietly'
Message
De
06/02/2007 05:44:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01192325
Message ID:
01192688
Vues:
11
This message has been marked as the solution to the initial question of the thread.
You're welcome. And by the way, instead of creating a tiny window, you can create the window way off your screen, like -1000,-1000.

>Thanks Tore,
>
>It worked a treat. It still does popup open and quickly goes away but I open it in such a tiny window 'you dont'c actually see it'
>
>Mathias
>>>Hi All,
>>>
>>>I have these reports created in code.
>>>
>>>Open 1 and tryin closing it without any changes, VFP brings up the save(yes/no/cancel) dialogue. That's because it applies timestamps to records, assigns unique ids to most entries and generally makes the report layout conforms to new format.
>>>
>>>What I have been trying to do is open the report and save it 'quietly'.
>>>
>>>I can do it buy involking an external script that sends a keypress "Y" to that dialogue wneh it shows up. But I am trying to clamp down on scripting so any ideas of achieving this purely in VFP please?
>>>
>>>I trying automating a server instance of vfp, sending it a key press before and after .doCmd("modify report ....") but it hasn't worked.
>>>
>>>Any ides please?
>>
>>Keyboard '{CTRL+W}'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform