Hi colleague,
I have following VFP code. This is the end of filter steps. We keep the project keys in cursor crsTemp7. Then we set relations to the other tables to find other fields and call the breport.
Our wish is now to store all the fields that are used on the report (or even all the fields of all the tables used in the relations) in one flat .dbf.
What can we best do?
===========================================================
Select DISTINCT SciMpart.BprojectNr, SciContp.ContPersKl , SciMpart.RelatieNr, SciMpart.RolSoort;
from SciMpart ;
join SciContp on SciMpart.RelatieNr = Val(SciContp.BedrijfsNr) ;
join crsTemp7 on crsTemp7.BprojectNr = SciMpart.BprojectNr ;
into cursor crsReport
Set Order to BedrijfsNr in SciBedri
Set Order To ContPersKl in SciContp
Set Order To BprojectNr in SciBproj
Set Relation To RelatieNr into SciBedri, ContPersKl into SciContp, BprojectNr into SciBproj
* >>> Here we want to save all fields as a .dbf file <<<
Report form breport Preview
===========================================================
TIA / Marcel from AllServe
I have following VFP code. This is the end of filter steps. We keep the project keys in cursor crsTemp7. Then we set relations to the other tables to find other fields and call the breport.
Our wish is now to store all the fields that are used on the report (or even all the fields of all the tables used in the relations) in one flat .dbf.
What can we best do?
===========================================================
Select DISTINCT SciMpart.BprojectNr, SciContp.ContPersKl , SciMpart.RelatieNr, SciMpart.RolSoort;
from SciMpart ;
join SciContp on SciMpart.RelatieNr = Val(SciContp.BedrijfsNr) ;
join crsTemp7 on crsTemp7.BprojectNr = SciMpart.BprojectNr ;
into cursor crsReport
Set Order to BedrijfsNr in SciBedri
Set Order To ContPersKl in SciContp
Set Order To BprojectNr in SciBproj
Set Relation To RelatieNr into SciBedri, ContPersKl into SciContp, BprojectNr into SciBproj
* >>> Here we want to save all fields as a .dbf file <<<
Report form breport Preview
===========================================================
TIA / Marcel from AllServe