Set Status, Save Record, Requery. SEE Statement Below (Macro).Need Code to Replace.

D

Dave Elliott

[Forms]![FPayments]![Status] (1)
"Paid" (2)
Save Record (3)
Requery (4)

(Need Code To Replace Macro) Thanks.
Thanks,

Dave
 
W

Wayne Morgan

I am assuming this is to run when the Status is changed. If so, in the AfterUpdate event
of the Status control try something similar to:

If Me!Status = "Paid" Then
RunCommand acCmdSaveRecord
Me.Requery
End If


Be aware that the Requery will return you to the first record of the form.
 

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