G
Guest
Hello,
I am trying to pass a value in a particular field into a function, but I
can't seem to figure out how to get it to work. Basically, when browsing
through records I want to run a function that will disable certain controls
for records where the "Complete" field is 1, and enable all the controls when
the "Complete" field is 0. To do this, I'm trying to pass the value in the
"Complete" field. To get the code to even run with getting a data type
mismatch I had to code my function to expect to receive a Variant. When I use
the VarType function on the variable, it tells me that the type is 9, a
vbObject. How can I work with a vbObject? I can't seem to find any
information on this.
Thanks,
Graham
I am trying to pass a value in a particular field into a function, but I
can't seem to figure out how to get it to work. Basically, when browsing
through records I want to run a function that will disable certain controls
for records where the "Complete" field is 1, and enable all the controls when
the "Complete" field is 0. To do this, I'm trying to pass the value in the
"Complete" field. To get the code to even run with getting a data type
mismatch I had to code my function to expect to receive a Variant. When I use
the VarType function on the variable, it tells me that the type is 9, a
vbObject. How can I work with a vbObject? I can't seem to find any
information on this.
Thanks,
Graham