View Single Post
  #5 (permalink)  
Old May 14th, 2004, 01:59 PM
gbianchi gbianchi is offline
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

probably this is wrong:

[code]
If RAFFLEID > " " Then
...
    ElseIf Data1.Recordset.NoMatch Then <----------- the data has not been set yet!!!!
        Frame3.Visible = True
        Label4.Visible = True
        Label4.Caption = "No such record was found."
        End
    End If

also

If PASSWORD = "TheSecretPassword" Then
...
ElseIf PASSWORD <> " TheSecretPassword" Then <--- why??? the if go to the second part if the first clause if not true..
    Label4.Visible = True
    Label28.Visible = False
    Label29.Visible = False
    Label4.Caption = "Enter the correct PASSWORD or see the administrator."
End If


[code]



HTH

Gonzalo
Reply With Quote