T
Thierry
Hi
I have a form with two buttons (insert and delete) and I want to validate
the input of those two buttons. How can I get the type of button in the
validation function?
Private Sub CValOrganisationName_ServerValidate
Select Case Me.Request.Form.Get(0)
Case "LinkBtnInsert"
{do something}
Case "LinkBtnDelete"
{do something}
End Select
End Sub
Me.Request.Form.Get(0) = "LinkBtnInsert"
So this works, but wat does that Me.Request.Form.Get(0) mean?
Is there maybe een better solution to this problem?
Thanks,
Thierry
I have a form with two buttons (insert and delete) and I want to validate
the input of those two buttons. How can I get the type of button in the
validation function?
Private Sub CValOrganisationName_ServerValidate
Select Case Me.Request.Form.Get(0)
Case "LinkBtnInsert"
{do something}
Case "LinkBtnDelete"
{do something}
End Select
End Sub
Me.Request.Form.Get(0) = "LinkBtnInsert"
So this works, but wat does that Me.Request.Form.Get(0) mean?
Is there maybe een better solution to this problem?
Thanks,
Thierry