CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Query with SQL

  1. #1
    Join Date
    Sep 1999
    Posts
    14

    Query with SQL

    I want to query a database table and use SQL and give the user the options to enter the fields to query. Can you display a form with text boxes and use the data entered in the text boxes in the SQL statement. I done think that is a problem, but can you have null values in the statement.


  2. #2
    Guest

    Re: Query with SQL

    The answers to your questions are YES. I am working on an assignment doing just that right now. The text boxes can have entries that are used as criteria for the SQL query or they can be blank. My SQL statement is built dynamically depending upon the contents of the text boxes.


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