Hello
The code below is part of a program which gets usernames from a MySQL database. If the username isn't in the database I want to call another form to add the user + some other details. The form only appears for half a second and disappears, but if I change it to Output.HasRows = True then the form opens no problem. Any help really appreciated as I'm baffled.
Output = OutputCommand.E xecuteReader
If Output.HasRows = False Then
NoUser.UserAddB ox.Text = UsersName
NoUser.ShowDial og()
End If
Cheers
The code below is part of a program which gets usernames from a MySQL database. If the username isn't in the database I want to call another form to add the user + some other details. The form only appears for half a second and disappears, but if I change it to Output.HasRows = True then the form opens no problem. Any help really appreciated as I'm baffled.
Output = OutputCommand.E xecuteReader
If Output.HasRows = False Then
NoUser.UserAddB ox.Text = UsersName
NoUser.ShowDial og()
End If
Cheers