on 03-26-2012 11:02 AM
Hi Experts
My requirement: I need to update value of Lookup Table into a field of Main table. Once user selects data in Main Table, based on selection (from Lookup), i want a value to get updated in another field of Main Table.
Example: Category_Table (Lookup Table) - Has filed's - cat-Name and Cat-Type. In Main Table, On selection of Category, I want to populate value of cat-Type into Main Table.
Regards
Hi Roy,
Your example is a bit unclear, What are the display fields of the look up table 'Category_Table'?
If both the fields Cat name and Cat type are in Category_Table, and Category field is in the main table,
then on selecting Category Field value in the main table, you want to populate Cat- Type field value in to which field of the main table?
Thanks & Regards,
Namrta Mahajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namrata
I have another filed in Main Table called "Check_Catg", i want to update that filed with one of the fields from Cat-Lookup Table. In Cat-Lookup I have 2 fileds, I select one filed from Drop Down list and value of the other should get populated in Main Table Field - "Check_Catg",
Regards
Hi Prasenjit,
I am not very clear here of the requirement.
Let me take an example here to explain my understanding.
If you Primary Main table Material,and you have another main table Category_Table.
You have a field "Check_Catg" of Type Lookup Main looking into Category_Table from Material main table.
Now in this scenario,when for a Material 100020001000 (say) you click on the "Check_Catg" field you will get list of all the entries in Category_Table and valuse shown will be of Display Field.
Or do you want to assign value of lookup field to Main table field?
Thanks,
Ravi
Hi Pransenjit,
Solution to your requirement can be achieved through Assignments.
You need to write one assignment as follows:
IF(Country.[Record]=Country.Country Code,"",Country.Capital)
And you need to choose required field (i suppose it is Check_Catg in your case) as assignment field.
This assignment will check if Value of country field in record matches with any value in Countries lookup table, and then assign the corresponding Capital of matched country to the assignment field.
Just one drawback here is that you need to manually execute this Assignment.
You can run assignment once a day to assign corresponding values to newly created records.
I hope it helps. Please revert for any issues. Thank you.
Hi Prasenjit,
My suggestion would be instead of LooKup Hierarchy make the category as Lookup Taxanomy with only one field Category Name and maintain Category type as Attribute to link to each node with respective values.
So now whenever user will select the category name in Main table u will get Category type as attribute where only one values will be displayed which user will be bound to select.
Regards,
Neethu Joy
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.