Iceman Solope
10-18-2004, 01:55 PM
Hi
I have a little problem on Access 2002, I have a lot of textbox and I want to create some code in Access in order to validate him but when I create an expression like this:
If Me.txtActActuHTRBCDemRes.Value = "" Or _
Me.txtActActuHTRBCDemMed.Value = "" Or _
Me.txtActActuHTRBCPunta.Value = "" Or _
Me.txtActActuHTRBCInter.Value = "" Or _
Me.txtActActuHTRBCBase.Value = "" Or _
Me.txtActActuHTRBCSemPunt.Value = "" Or _
Me.txtActActuHTRBCSDemRes.Value = "" Or _
Me.txtActActuHTRBCSDemMed.Value = "" Or _
Me.txtActActuHTRBCSPunta.Value = "" Or _
....
.... Then
MSGBOX ("You need to put all statements")
The access send me an error "too much continuation of lines" :(
so the question is How can I do that? or exist an statement like this?:
set = strTEXTBOX as AllTextBoxOnForm
if strTEXTBOX = "" Then ...
I have a little problem on Access 2002, I have a lot of textbox and I want to create some code in Access in order to validate him but when I create an expression like this:
If Me.txtActActuHTRBCDemRes.Value = "" Or _
Me.txtActActuHTRBCDemMed.Value = "" Or _
Me.txtActActuHTRBCPunta.Value = "" Or _
Me.txtActActuHTRBCInter.Value = "" Or _
Me.txtActActuHTRBCBase.Value = "" Or _
Me.txtActActuHTRBCSemPunt.Value = "" Or _
Me.txtActActuHTRBCSDemRes.Value = "" Or _
Me.txtActActuHTRBCSDemMed.Value = "" Or _
Me.txtActActuHTRBCSPunta.Value = "" Or _
....
.... Then
MSGBOX ("You need to put all statements")
The access send me an error "too much continuation of lines" :(
so the question is How can I do that? or exist an statement like this?:
set = strTEXTBOX as AllTextBoxOnForm
if strTEXTBOX = "" Then ...