If they are related records then just get record 2 and display the values in coloum two, that is on the same line as record 1.
If they are unrelated lists then you can only do this in Code:
Three Variables
table 1
table 2
recCount
Apply any filters to recs 1 and rec 2 and get the highest recourd count
reCount := table1.COUNT;
IF Table2.COUNT > recCount THEN
recCount := Table2.COUNT;
Your DataItem will be type Integer Index View Number
Comments
But meaby someone else ...
Regards
If they are unrelated lists then you can only do this in Code:
Three Variables
table 1
table 2
recCount
Apply any filters to recs 1 and rec 2 and get the highest recourd count
reCount := table1.COUNT;
IF Table2.COUNT > recCount THEN
recCount := Table2.COUNT;
Your DataItem will be type Integer Index View Number
Integer - OnPreDataItem()
SETRANGE(Number,1,recCount);
Integer - OnAfterGetRecord()
// If EOF then clear the values
IF NOT Table1.NEXT THEN
table1.INIT;
// If EOF then clear the values
IF NOT Table2.NEXT THEN
table2.INIT;
In the Section add the fields
table1.Description |table2.Description
Hope this helps
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
mybe this Topic can help you:
http://www.mibuso.com/forum/viewtopic.p ... ght=#33590