Hi,
Got this attempt to update a field in table "registration" on the fly..
Keeps giving me errors about syntax.
Just want to put a value from table Periode in Table registration based in the date set on a form, and as soon I change the date field, the Periode filed also recalculates it's value.
How should I do this?
Thanks
Got this attempt to update a field in table "registration" on the fly..
Code:
myperiodeveld = DLookup("[Periode_naam]", "Periode", "[registratie].[datum]" Between "[periode].[periode_startdatum]" AND "[periode].[periode_einddatum]")
Me.txtImport = myperiodeveld
Me.txtImport.Requery
Just want to put a value from table Periode in Table registration based in the date set on a form, and as soon I change the date field, the Periode filed also recalculates it's value.
How should I do this?
Thanks