Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Weirdness, again!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01438927
Message ID:
01438931
Vues:
45
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform