Learn how to a build a cloud-first strategyRegister Now


VB6 hidden SQL feature

Posted on 2007-07-25
Medium Priority
Last Modified: 2013-12-25
I may be the only person who doesn't know this, here goes:  In my VB6 IDE, under "Query" there is a selection called 'Verify SQL syntax' - which sounds useful.  The problem is, it's always grayed out.  Under what conditions does Verify SQL syntax become an active feature?  How do I use it?  What does it do?  Is this another name for the Query Analyzer?  PLEASE enlighten me!  Thanks
Question by:wjshore
  • 2
LVL 53

Expert Comment

ID: 19563341
I guess that it only works if you are in teh query designer...

Author Comment

ID: 19563394
Don't be shy.  How do I get in the query designer?
LVL 53

Accepted Solution

Dhaest earned 1500 total points
ID: 19563413
I can't test it here, but something like this:
1. Open Visual Basic and create a new Standard EXE project.  
2. On the Project menu, click Add a Data Environment.  
3. Right click the connection, select Properties, and select OLEDB Provider for Jet 3.51.  
4. Click the Connection tab and select the NWind.mdb by using the ellipsis button for item 1.  
5. Right-click the connection and select "Add a Command."  
6. Right-click Command1; select "SQL" as data source. Click SQL Build to launch the Query Designer.  

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question