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

    Data Environment in VB 6

    My questions is:
    When i try to write an SQL Statement (Source of Data), how can i make an parameter optional ? (I have 3 parameters and i want like one to be optional).

    Thanks very much.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Data Environment in VB 6

    this is how I do it:
    the "Parameters" tab for the command has a "required" combobox. If you set the value in that box to "False", the parameter is optional.


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