Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in Thai but OK in English / Chinese
Message
De
18/10/2012 05:33:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Error in Thai but OK in English / Chinese
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01555226
Message ID:
01555226
Vues:
80
Hi
I have code as below. It is working fine in English / Chinese RPC environment. However, I hit error "pa_rptaccs is not an array" if I switch OS to Thai. Any ideas?

Thank you
PRIVATE pa_rptaccs
	DIMENSION pa_rptaccs[1]
	STORE "" TO pa_rptaccs
	IF NOT EMPTY(userdbf.crptgrp)
		lcAlias = ALIAS()
		*** new added by Liew 10/12/2009 ***
		*USE shrmsrg IN 0
		IF NOT USED('shrmsrg')
			USE shrmsrg IN 0		
		ENDIF
		************************************
		SELECT shrmsrg
		LOCATE FOR ccode = userdbf.crptgrp
		IF FOUND() AND NOT EMPTY(mreport)
			RESTORE FROM MEMO shrmsrg.mreport ADDITIVE
		ENDIF
		USE IN shrmsrg
		SELECT (lcAlias) 
	ELSE
		IF NOT EMPTY(userdbf.mreport)
			RESTORE FROM MEMO userdbf.mreport ADDITIVE
		ENDIF
	ENDIF
	DIMENSION _SCREEN.oApp.areports[ALEN(pa_rptaccs)]       *** ERROR
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform