openform

ibrahim_basry

New member
Local time
Today, 01:24
Joined
Jan 8, 2014
Messages
1
i have 2 forms i want to go from [form 1] to [form 2] in the same record from form 1 i tried to use [student no] = Forms![form 1]![student no]
it asked to entre the value of the student no
and i tried the code also
plz help
 
What happened when you tried the code? Error, nothing, bad result? We need more information...

Probably you want something like
Code:
Forms![Form2].Filter = "[student no] = " & Forms![form 1]![student no]
Forms![Form2].FilterOn = True
or
Code:
DoCmd.OpenForm "Form2",,,"[student no] = " & Forms![form 1]![student no]
 

Users who are viewing this thread

Back
Top Bottom