Hiya.
I am registerering 2 different datasources against a report like
a.RegData("People", m_persons);
a.RegData("Jobs", m_personJobs);
If I then go into the designer and create a relationship between these two datasources but when I then run the report it says
Parent datasource "People" and child datasource "Jobs" is not located in one dataset and cant be used in relationship X
Because of the nature of what I am writing i cannot put a collection of objects inside the other object and then register a single object- I really need to register them as two separate objects.
Is it possible to register two things separatley and then create a relationship between them ?
Best regards
Robin
Registering 2 datasources and creating relationship causes problem
-
- Posts: 38
- Joined: Thu Apr 02, 2009 5:54 am
Registering 2 datasources and creating relationship causes problem
Hello Robin,
Please set CachelAllData property of report to true.
Thank you.
Please set CachelAllData property of report to true.
Thank you.
-
- Posts: 38
- Joined: Thu Apr 02, 2009 5:54 am
Registering 2 datasources and creating relationship causes problem
Jan - thank you very much - perfect
Registering 2 datasources and creating relationship causes problem
Hi Robin!
You are welcome.
Please let us know if any additional help is required.
Thank you.
You are welcome.
Please let us know if any additional help is required.
Thank you.