D
David Wetmore
How can I move data from one open form to another?
For example, the current form has a variable intHeaderKey. Suppose it contains 1234.
On another form, frmDestination, there is a public variable intImportedHeaderKey
I would like to be able to build a string like:
strCommand = "Forms!frmDestination.intImportedHeaderKey = " & Cstr(intHeaderKey)
and execute the string as VBA Command
Or is there a better way to do this?
Thanks,
Dave
For example, the current form has a variable intHeaderKey. Suppose it contains 1234.
On another form, frmDestination, there is a public variable intImportedHeaderKey
I would like to be able to build a string like:
strCommand = "Forms!frmDestination.intImportedHeaderKey = " & Cstr(intHeaderKey)
and execute the string as VBA Command
Or is there a better way to do this?
Thanks,
Dave