hi all..
we have a "simple" requirement from user.
in sales order form, we would display "total number of sales header" belonging to same customer no.
when user click on the field total, it will show the list of sales header (custom lookup function - showdialog).
is there a way when user select a record, sales order will jump or navigate to selected record ?
any function that i can use in C/AL to simulate a find function?
NAV version: NAV 5.0.
Thanks in advance.
0
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
thanks for the reply. but that's not what we want.
maybe i never explain clearly.
+ in form A, there is a field COUNT (which calculated using C/AL)
+ assume form A will display a sales header (current position #5)
+ this field COUNT is a lookup (using onLookup function) which will display the list of sales header, using showDialog
+ user expectation:
when she selected on a record (click OK or double click) --> position #10,
it will return to form A, and record will point to position #10, instead of current position #5.
is there anyway to do that?
it's close...
but it's not really navigating to selected record, because sub-form data is not updated.
and it will prompt me whenever I click on anything, e.g. F5, F7, click on next or previous.
"Do you want to rename the record?"
UPDATE:
Thanks. It works fine after I added CurrForm.UPDATE(FALSE).
=D>