ahhhhghghhgghhh
why oh why is access messing with me.
i have this
basically i wat to loop through my controls. when i get to some with a prefix of called txt_SafeHaz... i want to put the value in an array.
so when i do msgbox ctl.value it comes out BLANK. NOT with a value.
when i do MsgBox Me.txt_SafeHaz01.Value it shows the value.
am i going mad or should this work.
why oh why is access messing with me.
i have this
Code:
If Left(ctl.Name, 11) = "txt_SafeHaz" Then
MsgBox ctl.Value
MsgBox Me.txt_SafeHaz01.Value
basically i wat to loop through my controls. when i get to some with a prefix of called txt_SafeHaz... i want to put the value in an array.
so when i do msgbox ctl.value it comes out BLANK. NOT with a value.
when i do MsgBox Me.txt_SafeHaz01.Value it shows the value.
am i going mad or should this work.