Update Current Record of Subform

C

c.kurutz

I have a main form holding quote information. I have a subform listing
names of people who will receive the quote. I have a button on the
subform that allows the user to email the quote to each person. I need
an afterupdate procedure that after the "email quote" button is clicked
the date and time will be entered in a text field called
CUSTOMERTIMESTAMP.

I have it working for the first record but I can't seem to get the
subform to recognize which subform record I am on and only update the
current record. The CUSTOMERTIMESTAMP
 
C

c.kurutz

CONTINUED.....
Sorry.....I hit enter before I finished typing my notes and accidently
posted before I was done.

As I was typing.....The CUSTOMERTIMESTAMP field will always update on
the first record only.

Any help would be appreciated.
 
C

c.kurutz

Figured it out.....I was referencing the field name wrong. When I
added correct syntax it worked beautifully:

Forms![frmQuoteInformation]![tblQuoteSentTo
subform].Form![CustomerTimeStamp] = Now()


Thanks...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top