I have this @DbColumn which work ok.But there is a problem.
Before the user uses the @DbColumn (lookup) he sets the Server and DB-values in a field which in order comes before the “@DbColumn-field”. This is done through a @Picklist from another doc.(view).
The problem is that I must press F9 in order to get the correct Server and DB-values in the “@DbColumn-field”.
I have tried to have the Server and DB-field values computed and editable. These fields are hidden.
The “NoCache” is irrelevant to this, but you’ll have to do something like:
Use AutoCalc on your form (I don’t like this)
When the user chooses the server/db they should do so in a field which “refreshes fields” and then your @Db should be in a field which “refreshes choices”
My favorite would be to have a button which pops up a dialog box and lets the user choose all this stuff. This way, your performance on the main document will be unaffected for future edits and reads !
The solution to this problem I have found is refreshing the document when entering the field in which I have the @DbColumn.Is this method OK in this context?