i have a code here but there something a problemss...please kindly help...!!


Private Sub cmd_Click()
If Text1.Text = "aa" And Text2.Text = "aa" Then
MsgBox "fsdafsafsaf"
Else
MsgBox "invalid"
End If

End Sub

Private Sub Text2_Change()

If KeyAscii = 13 Then
cmd.Enabled = True
End If
End Sub


i want to create a form using "enter tab" that will automatically enter the other form.thx for helping

Hi,

Wrie this wherever u want to show the Second Form:

Form2.Show

REgards
Veena

Please elaborate more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.