Acces Query wont work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    Acces Query wont work

    Hi i got a query i use my in c# app

    Code:
    SELECT RTR__RTS_ID, RTR__OPTION from qx_RoleRights where RTR_ROL__ID = 1 (one being 'User' in the app)
    Problem is it says to value was given in. when i ran the query in acces in sql mode it pops up a box and then i have to enter 1 in there and only then do i get a result

    How can i fix this problem?
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    your query being normal should work fine....

    Comment

    • Sl1ver
      New Member
      • Mar 2009
      • 196

      #3
      problem is, it doesn't want to and i have no idea why not

      Comment

      • Sl1ver
        New Member
        • Mar 2009
        • 196

        #4
        found the problem, sometimes difficult to notice the small things, should be RTR__ROL_ID and not RTR_ROL__ID

        Comment

        • ThatThatGuy
          Recognized Expert Contributor
          • Jul 2009
          • 453

          #5
          Its really not sensible to put 2 underscores 1 is acceptable....

          it really creates a mess

          Comment

          Working...