Subject: RE: @dblookup issue
You do NOT have to close the application. You do have to save document(s) created by Form B, before you can see them in form A.
What I’m not sure is how you want see the values in Form A.
(1) You want it anytime someone opens (for reading), or creating a new, or editing an exist a document using Form A, the field doing the dblookup will show the data from documents using Form B. So if documents already exist and have been saved using Form A, they will automatically update.
Is this what you want?
(2) You want it anytime someone is creating new or editing existing documents using Form A, the list of choices for a field using the dblookup will have all the values form documents created using Form B.
If it’s the second In the second case and you’re running into a problem something like this:
Form A ask the user to fill in information about themselves. One of the question is their favourite colour.
The list of favourite colours comes from Form B (a keyword document).
While filling in the form, I go to pick my favourite colour and don’t see purple.
I phone of the manager of this application and request that they add purple to the list.
They said they will do it in a minute and in the meantime, I fill in the result of the form (I don’t exit the document).
The manager of the database calls back saying purple has been added.
Now when I click on my favourite colour picklist you want to see: green, red, blue and purple.
This can be done.
The trick is where the @DbLookup is located. If you’ve got it in the choices field for a radio button, checkbox or keyword list it won’t change because this value is set when the document loads.
If however, you create a hidden tmpfield or use a hotspot you can configure it to “relaod” the latest data.
Is this what you want?