CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Posts
    1

    Help--Record Return

    How can I return selected records from the database using a public variable?? Is it possible. I have tried Select * from tblA where tblA.Field Like '"& Public Variable &"'" -- returns an error. Any suggestions??
    Thank You in advance


  2. #2

    Re: Help--Record Return

    Be more specific:

    1) What error are you getting.

    2) Provide a sample of the code that is causing the error.

    Charlie Zimmerman
    http://www.freevbcode.com



  3. #3
    Guest

    Re: Help--Record Return

    Thanks for the reply the code was good i had extra quotes in the code it should have been ("SELECT * FROM Pet WHERE Customer_ID = " & Customer_ID).


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured