remcopeters
Registered User.
- Local time
- Yesterday, 19:08
- Joined
- Dec 3, 2012
- Messages
- 31
I have a form with textbox "Quotenumber"
This textbox is bound to the field "quotenumber" in table "quotes" (in the property field "control source").
Now I want this field to be filled with this code:
I got this code in "default value" property field. This won't work if "control source" is filled in. It DOES work if control source is empty, but I need control source to hold the field of the table it needs to fill in the data.
Hope my case is clear and someone is able to help me.
This textbox is bound to the field "quotenumber" in table "quotes" (in the property field "control source").
Now I want this field to be filled with this code:
Code:
=DMax("[Offertenummer]";"[Offertes]";"[Offertes].[GebruikerID]=" & [Formulieren]![Offertes]![GebruikerID])+1
I got this code in "default value" property field. This won't work if "control source" is filled in. It DOES work if control source is empty, but I need control source to hold the field of the table it needs to fill in the data.
Hope my case is clear and someone is able to help me.