Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FRX2Word and different paths
Message
De
01/09/2000 02:35:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
FRX2Word and different paths
Divers
Thread ID:
00411610
Message ID:
00411610
Vues:
48
I find FRX2word quite a usefull component.
But i experienced the following problem:
my report rpttest.frx is in the path v:\reports
this report is based on a table tbltest which resides in v:\tables
My program prgTest.prg resides in v:\modules

When i execute prgtest (which is not more than the standard code you can find in frx2words helpfile), the program halts with the following message:

"cannot find table v:\reports\tbltest.dbf"

That is true, cause tbltest.dbf resides in v:\tables.

De debugger showed that the class halted at the following position:
* Report form *

for i = 1 to this.cursors
F2W_cUseCommand=allt(F2W_cCurSource[i])
if !empty(allt(F2W_cCurAlias[i]))
F2W_cUseCommand=F2W_cUseCommand+" ALIAS "+allt(F2W_cCurAlias[i])
endif
if !empty(allt(F2W_cCurOrder[i]))
F2W_cUseCommand=F2W_cUseCommand+" ORDER "+allt(F2W_cCurOrder[i])
endif
if !empty(allt(F2W_cCurDBC[i])) and file(allt(f2w_cCurDBC[i]))
F2W_cUseCommand=cReportPath+allt(F2W_cCurDBC[i])+"!"+F2W_cUseCommand
else
F2W_cUseCommand=cReportPath+F2W_cUseCommand
endif
x=trans(i)
select &x
Here !----> use &F2W_cUseCommand
if !empty(F2W_cCurFilter[i])
set filter to &F2W_cCurFilter[i]
endif
endfor
select 1
endif

Is there anyone who experienced the same problem and managed to solve it ?

Many thanks in advance: Bjorn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform