i currently need to create 2 different button, one for fill in values to KeyField. Which will enter other fields, say keyfield2
the 2nd button will do lookup, using values in KeyField and keyfield2, and enter it in LookupField.
I was not able to combine into one button, as it will give errors, due to the keyfield2 will need to be refreshed, upon entering of value in keyfield1, but this will cause the lookup for getting value of LookupField to give an error, as value in keyfield2 was null during the first refresh.
If you know the values for your keyFields in your first button,creating one single button is easy… you’ll probably not have to check the keyFields anymore…
Subject: RE: How to write agent that do dblookup formula when require key field to be entered?
If the user selects one thing, then needs to select another… that is two things… if the user can select both items at once, then that is one question… for example:
McDonald’s Meal #1, includes hamburger and fries so user can just say Meal #1
So Will, do you need to ask one, or two questions?
Subject: RE: How to write agent that do dblookup formula when require key field to be entered?
Guest you are right, coz 2nd question depends on 1st question. Thought there is some way I can make the 2nd lookup after all data required is entered initially:
1st action: to enter field1, field2 will do lookup with values from field1
2nd action: field3 will be entered based on values entered in field1 and field2, i.e field1 + field2 is the key for lookup value in field3.