Form References

texbender

New member
Local time
Today, 07:51
Joined
May 22, 2007
Messages
6
Shouldn't

me.parent!mycontrolname and me.parent.controls("mycontrolname") equal the same thing?? In my version of access they don't. I've also had other weird referencing issues like: form_myform.mycontrol <> me.mycontrol

Also why would my form_current execute twice?? (I have a debug.print <variable> and it always shows up twice whenever I move between records.)

BTW, I'm using Access 2003. :confused:

I've asked this question before of the utter access forum and I get told that I shouldn't use the .value property of the control (.NET programming requires explicit use of properties, it does not assume there is a default)


Thanks in advance.


A Bender
Texas, USA
 
Shouldn't
me.parent!mycontrolname and me.parent.controls("mycontrolname") equal the same thing?? In my version of access they don't. I've also had other weird referencing issues like: form_myform.mycontrol <> me.mycontrol

Also why would my form_current execute twice?? (I have a debug.print <variable> and it always shows up twice whenever I move between records.)

BTW, I'm using Access 2003. :confused:

I've asked this question before of the utter access forum and I get told that I shouldn't use the .value property of the control (.NET programming requires explicit use of properties, it does not assume there is a default)

No, me.parent!mycontrolname could refer to a bound fieldname
Don't know why your Current event executes twice. Post your db (w or w/o data, compacted and zipped) and i'll have a look and try to help.
 

Users who are viewing this thread

Back
Top Bottom