Hello, i have a lookup window and want to show the same record that the dtl form i using, both forms are using a table hojas, and in the lookup i want to show the info of the field in the dtl. I used this code, is correct?
function showSheetIfno(event) {
var params = new Object();
params.mode = "show";
params.pk = hoja_id;
globals.svy_nav_showLookupWindow(event, null, "qcinst_hojas", null, null, params);
}
In the var params i put one promerty named pk, like i see in the framework documentation, but don’t work, I’m using 6.0.1.86
EDIT:
I see the table have more than 9300 records, and in this part of function svy_nav_lkp_showRecord
if (globals.svy_nav_fr_solutionModelObject && globals.svy_nav_fr_solutionModelObject.pk) {
// Select the correct record
forms[_editForm].foundset.selectRecord(globals.svy_nav_fr_solutionModelObject.pk);
}
Only charge 200 maxium elements in the foundset, are any option o some way to charge ALL the records?
I changed this line:
forms[_editForm].foundset.selectRecord(globals.svy_nav_fr_solutionModelObject.pk)
for this:
forms[_editForm].foundset.loadRecords(globals.svy_nav_fr_solutionModelObject.pk)
And now work fine