On Click add note to subform (1 Viewer)

cktcPeterson

Member
Local time
Today, 06:05
Joined
Mar 23, 2022
Messages
73
I have a check box that when I click on, I want to add a record in my notes subform that says emailed then also populate the date.

So on the main form I have check box [email_approval]
Subform- Contact Notes subform1

2 fields
Notes
NoteDate

Thanks
 

June7

AWF VIP
Local time
Today, 06:05
Joined
Mar 9, 2014
Messages
5,472
Options:

1. INSERT action SQL to enter record into table subform is bound to then requery subform

2. Set focus to subform, move to New Record row, populate fields

3. Open RecordsetClone of subform RecordSource, add record to RecordsetClone which will be reflected in the subform data
 

cktcPeterson

Member
Local time
Today, 06:05
Joined
Mar 23, 2022
Messages
73
How do I setup the set focus?
 

June7

AWF VIP
Local time
Today, 06:05
Joined
Mar 9, 2014
Messages
5,472
Forms!mainformname.subformcontainername.SetFocus
 

Users who are viewing this thread

Top Bottom