Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Environment Confusion

Status
Not open for further replies.

joerocket

Programmer
Nov 22, 2000
35
US
I have a form that shows data from a parent table (text boxes)and a related child table (grid). In my Data Environment, I have the 'OneToMany' property for the Relationship set to 'False', enabling the user to navigate throught the parent records and have the grid show the appropriate child data for each parent.

After running a report (with the Report command) and returning to the Form, the Form acts like the 'OneToMany' property has been reset to 'True', forcing the user to navigate through the child records.

Do I have to re-define the Data Environment even though the Form uses a Private DataSession?

Thanks for your help,

Jacob
 
HI

If you make the report data scession as Private.. (open the report for modification..In VFP menu->Reports-> Click on Private Data scession), the forms data scession shall not get affected. This may be what is needed for you ;-)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Thanks Ramani,

That was precisely the solution I needed.

Jacob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top