Stefan.Kauw
Registered User.
- Local time
- Today, 22:57
- Joined
- May 31, 2018
- Messages
- 24
Query result in textbox after changed
Howdy!
I have, i guess, a small problem with refreshing/requery a form when a value is changed. This is the situation:
I have a form which where a processoperator can choose a batchnumber.
Based on that batchnumber it should run two queries to obtain two types of information:
"Behandelbeurt" which represents the state of a batch
"Norm" which represents the amount of product that should be added.
The "Behandelbeurt" should be found when changing the batchnumber. The "Norm" should be found when the behandelbeurt is available.
When running the queries and DLookups seperately everything works but when combining those it doesnt do anything.
Only when i'm using tab a couple of times through the whole form the DLookups suddenly gets filled...
So somehow it DOES trigger/activate the dlookup but not when i needed to.
Goal:
When the batchnumber ("Partijnummer") is changed, the "Behandelbeurt" and "Norm" queries should be run.
Howdy!
I have, i guess, a small problem with refreshing/requery a form when a value is changed. This is the situation:
I have a form which where a processoperator can choose a batchnumber.
Based on that batchnumber it should run two queries to obtain two types of information:
"Behandelbeurt" which represents the state of a batch
"Norm" which represents the amount of product that should be added.
The "Behandelbeurt" should be found when changing the batchnumber. The "Norm" should be found when the behandelbeurt is available.
When running the queries and DLookups seperately everything works but when combining those it doesnt do anything.
Only when i'm using tab a couple of times through the whole form the DLookups suddenly gets filled...
So somehow it DOES trigger/activate the dlookup but not when i needed to.
Goal:
When the batchnumber ("Partijnummer") is changed, the "Behandelbeurt" and "Norm" queries should be run.
Attachments
Last edited: