Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Form jumps behind FORM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01496756
Message ID:
01496774
Vues:
99
This message has been marked as the solution to the initial question of the thread.
>I renamed the Foxuser files to FoxUser1 so that they'd not interfere, but it made no difference. The Report Form still ends up behind the Form.
>
>Naomi, the exact commands are as follow:
>
>* PrintButton.Click()
>SELECT Orders
>lnOrderNumber = Orders.Order_No
>
>SELECT Orders.*, Customers.* ;
>	FROM Orders, Customers ;
>	WHERE ;
>		Orders.Order_No = lnOrderNumber AND ;
>		Orders.Cust_No = Customers.CustNo ;
>	INTO CURSOR tmpOrders
>
>REPORT FORM Order PREVIEW
>USE IN tmpOrders	&& Close the temporary cursor.
>
Try
thisform.Hide() && or thisform.WindowState = 1

Report FORM Order PREVIEW && May be rename the report as ORDER is a reserved word
thisform.Show()  && tisform.WindowState = 0
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform