Update value from form

bilcic

New member
Local time
Yesterday, 18:45
Joined
Mar 27, 2015
Messages
1
Hi. I have 2 forms: Form_1 and Form_2. In each on them I have a 2 Fields named ID. I need when I open Form 2 to update the field ID with number from field ID, Form_1. Can you help me?
 
Hello bilcic, Welcome to AWF :)

You need to make use of the Where Condition on the DoCmd.OpenForm method. Something like,

Code:
DoCmd.OpenForm "Form_2", WhereCondition:= Me.IDControlName
 

Users who are viewing this thread

Back
Top Bottom