Best approach
- Issue
- DataWindow
- Retrieve
- John Vanleeuwe
- PowerBuilder
- Sunday, 20 August 2017 12:45 PM UTC
Hi all,
We have a master table with detail records. Each detail record has another level of detailed records.
Our current print function is a retrieve of a composite datawindow. Printing is done for each master table record , but also reprinting afterwards is done a lot.
With millions of records , our retrieve function is getting too slow ( due to inherited bad key settings on the table).
I have the idea now of performing a describe of the datawindow after the first time it's printed and saving the syntax in the database on master table level. When a reprint is needed i can do a create of the saved syntax.
I am a bit hesitant of saving the syntax in the master table with millions of records.
Should i maybe better create a new table ? Or ... any other idea's ?
TIA
John
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.