Getting value of open form using VBA

AceBK

Registered User.
Local time
Today, 17:42
Joined
Dec 2, 2011
Messages
75
I am struggling to get the value off of an open form into my current form using VBA. I am trying:

Me.InvoiceNumber = Forms!Invoices!InvoiceNumber

But it is not working. Both fields have the same type, Number - Long Integer.

Any ideas what I am doing wrong?
 
"Not working" doesn't tell us much.

What does happen?
 

Users who are viewing this thread

Back
Top Bottom