G
Guest
I am trying to pass an argument from one form to another, using the
docmd.openform command and setting the "openargs" element to a string
"strCompCode" now when the second form opens, in the Load event I use the
"Me.OpenArgs" to capture what is being passed, but it always returnsa a null,
even though i can see that strCompCode has a value in it. There is one more
curious thing that happens, when i trace the code (F8) and go into the Load
even of the 2nd form, it goes throught it twice, the second time around it
picks up the "openargs" element, very strange! can someone help me out with
that?
Thank you in advance!
docmd.openform command and setting the "openargs" element to a string
"strCompCode" now when the second form opens, in the Load event I use the
"Me.OpenArgs" to capture what is being passed, but it always returnsa a null,
even though i can see that strCompCode has a value in it. There is one more
curious thing that happens, when i trace the code (F8) and go into the Load
even of the 2nd form, it goes throught it twice, the second time around it
picks up the "openargs" element, very strange! can someone help me out with
that?
Thank you in advance!