Search results

  1. H

    Solved It shows that there are missing operator

    Private Sub Combo37_Change() Dim X As Integer X = Me.Combo37 Controls(FirstName) = DLookup("First_Name", "VIPcustomer", "VIPID = & X ") End Sub For the dlookup
  2. H

    Solved Object Required

    Oh it fixed Thanks a lot
  3. H

    Solved Object Required

    MsgBox
  4. H

    Solved Object Required

    Y = DLookup("RankID", "staff", "StaffID =" & X) If Y = 3 Or Y = 4 Then DoCmd.OpenForm "Jrmenu" ElseIf Y = 5 Then DoCmd.OpenForm "Srmenu" ElseIf Y = 6 Then DoCmd.OpenForm "Bossmenu" Else Msg.Box "Permission Needed", vbCritical...
  5. H

    Solved There is a syntax error for this SQL

    DoCmd.RunSQL "Update VIPcustomer SET VIPcustomer.Condition = 1 WHERE ((VIPcustomer.VIPID) = &X);" I have tried different way, it stills shows syntax error.
  6. H

    Solved Syntax Error

    It suddenly fixed when I try to add one more quotation mark Thanks a lot
  7. H

    Solved Syntax Error

    Thanks for the help btw;)
  8. H

    Solved Syntax Error

    When I use this code, it shows that missing operator
  9. H

    Solved Syntax Error

    No Both of the ID and PW are text
  10. H

    Solved Syntax Error

    If IsNull(DLookup("Staff_ID", "Login", "LoginID = '"&Me.ID&"' and Password = '"&Me.PW&"'")) Then End If I find a login form example video on the Internet and i change the name of text box and field name But it shows that there are syntax error.....
  11. H

    Solved There is a type mismatch

    Its fixed thanks a lot
  12. H

    Solved There is a type mismatch

    Both X and Y are integer
  13. H

    Solved There is a type mismatch

    SeatCondition = DLookup("Condition", "Play1", "SeatID= & X" And "PlayID= & Y &") I am not familiar with VBA Can someone help me It shows that there are type mismatch
  14. H

    Solved It shows that there is invalid use

    This fixed my problem thank a lot!!
  15. H

    Solved It shows that there is invalid use

    They are all number
  16. H

    Solved It shows that there is invalid use

    X = DLookup("PlayID", "Houses", "NameCond = 1" And "DateCond = 1" And "TimeCond = 1") And if i use this, there will be a type missmatch
  17. H

    Solved It shows that there is invalid use

    Will it be affected if the PlayID is auto number?
  18. H

    Solved It shows that there is invalid use

    X = DLookup("PlayID", "Houses", NameCond = 1 And DateCond = 1 And TimeCond = 1) There is no null value in my table.......
Back
Top Bottom