A
Amit
Hi,
I need some help with VBA code for a form.
I have a form (frmOrg) to enter Organization information.
I also have another form (frmRep) to enter Organization
Representative information. I would like to be able to
open frmRep using a button on "frmOrg", with the
Organization name field on "frmRep" be already filled in
with the value of the Organization name from the "frmOrg".
I'm able to add a button to open "frmRep", but not sure
what code to write so that the Organization name is taken
from "frmOrg". Organization ID is the PK, there is a 1-to-
many relationship between Organization table and
Representative table. I'd like to open "frmRep" at a new
record, but also be able to display existing records.
Do I need to refresh the "frmOrg" before opening
the "frmRep" form?
Will appreciate any help.
Thanks!
-Amit
I need some help with VBA code for a form.
I have a form (frmOrg) to enter Organization information.
I also have another form (frmRep) to enter Organization
Representative information. I would like to be able to
open frmRep using a button on "frmOrg", with the
Organization name field on "frmRep" be already filled in
with the value of the Organization name from the "frmOrg".
I'm able to add a button to open "frmRep", but not sure
what code to write so that the Organization name is taken
from "frmOrg". Organization ID is the PK, there is a 1-to-
many relationship between Organization table and
Representative table. I'd like to open "frmRep" at a new
record, but also be able to display existing records.
Do I need to refresh the "frmOrg" before opening
the "frmRep" form?
Will appreciate any help.
Thanks!
-Amit