Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Weirdness, again!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01438927
Message ID:
01438931
Views:
44
>REPORT FORM command moves the record pointer to the end of the file. You must save the current record number and restore it after REPORT FORM command.
>

But, the report is printing the medispan_out table....
SELECT medispan_out
DO CASE
	CASE lcLanguage = 'E'
		REPORT FORM MonoBoldProfile NOCONSOLE ALL TO PRINTER PROMPT
	CASE lcLanguage = 'S'
		REPORT FORM MonoBoldSpanishProfile NOCONSOLE ALL TO PRINTER PROMPT
	OTHERWISE
		REPORT FORM MonoBoldProfile NOCONSOLE ALL TO PRINTER PROMPT
ENDCASE
Why would this affect the RX table, the one the grid is using?


>Also you must switch focus to some other object than grid before REPORT FORM command.
>
I thought I had with ....
*TMT Set focus to DONE button so we don't see the RX table from the GRID
		THISFORM.cmdDone.SETFOCUS()
		SELECT medispan_out
		DO CASE
			CASE lcLanguage = 'E'
and this...
ENDCASE

*TMT Reset focus back to GRID
THISFORM.grdProfile.SETFOCUS()
SELECT rx
RETURN
Thanks!
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform