I have the following piece of VBA code which is called AfterUpdate
Me.Text62 = DLookup("[Job Desc]", "Projects Extended", "[ProjectID]=" & Nz(Me![Project], 0))
This retrieves Job Desc and puts it in field Text62 on my sub-form. However, when I enter another record with a different ProjectID it displays the new Job Desc for every line of the sub-form.
What am I doing wrong ??
Me.Text62 = DLookup("[Job Desc]", "Projects Extended", "[ProjectID]=" & Nz(Me![Project], 0))
This retrieves Job Desc and puts it in field Text62 on my sub-form. However, when I enter another record with a different ProjectID it displays the new Job Desc for every line of the sub-form.
What am I doing wrong ??