J
Jeff Garrison
This sounds easy, but apparently not for me...
I have a for that has a label on it. That label has a value in it
(caption). I would like to be able to update that caption on that form via
VBA. I have a function that updates a value in a backend table. I want to
take that value and update the caption on that form (which will always be
closed). I've tried using the following in the function, but it errors out:
....
DoCmd.OpenForm "frmDatabaseLogon", acNormal
Me.lblVersion.Caption = strVersion
....
The error comes back saying invalid use of the Me keyword.
Any help would be appreciated...
Jeff G
I have a for that has a label on it. That label has a value in it
(caption). I would like to be able to update that caption on that form via
VBA. I have a function that updates a value in a backend table. I want to
take that value and update the caption on that form (which will always be
closed). I've tried using the following in the function, but it errors out:
....
DoCmd.OpenForm "frmDatabaseLogon", acNormal
Me.lblVersion.Caption = strVersion
....
The error comes back saying invalid use of the Me keyword.
Any help would be appreciated...
Jeff G