Hi experts,
In my new table, for one of the field, I used the table relation property as : Vendor.No. WHERE (Vendor Posting Group=CONST(FREIGHT))
When I click on lookup for first time, it takes me to vendor list (first record). It's fine. After selecting a record, when I again click on lookup it takes me to the vendor list first record. I want to point to the same record in the vendor list which I selected earlier. Can I do this with any property?
~~ravi
0
Comments
What is there the value :?:
you select a vendor, the courser is on the first rec. in your open list form -> you press OK and the "Vendor no." is now in your field.
1. Then you leave the line and go to a blank line and you will there select a new Vendor
or
2. press F6 in your line where the "Vendor no." is inserted :?:
If 2. and you press F6, in the opend Vendor List form the courser isn't on the vendor no from where youv'e selected :?:
3. which version / which application?
Now I press f6 in my field -> list form opened , but the courser is again on the first rec (I want courser should point to 2nd record)
because normaly the last selected record will be displayed (this was my reason for the property SourceTablePlacement)
still the same problem.
If I remove the “Vendor Posting Group” from secondary key list of vendor table, the requirement what I need is working. But I can’t do that.
Can you give me any solution. we are using Nav4.01-SQL
Thanks !
http://www.BiloBeauty.com
http://www.autismspeaks.org
you fired up an SQL statement like this (on this reason i ask you what u are using Native / SQL).
The problem here ist the order by statement. So, if you check your vendor list, the property SourceTableView is <Undefined>. If you change this to SORTING(No.) you problem is no problem. But note, now, ever you open the vendor list, the form will ever use the sort order No. And this could be a problem, if you open this form via Code like
So if there are many datas in your filtercriteria (setrange) the form must reorder the records when opened ...
Hope understandable.
For the lookup trigger solution, search the forum, there are some post about this theme (author garak, savatage, waldo, kine, DenSter, etc ...)
Regards