Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form jumps behind FORM
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01496756
Message ID:
01496774
Views:
94
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform