DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Bob Guest

    SQL and Visual Basic question.


    Could someone please explain to me why the ExecuteSQL() sub will work in Devx's
    project code, but not mine. A while ago, it would capitalize the e,s,q,
    and l when I'd finished typing it. Now it doesn't even to that. I have
    the 2.1 objects lib included. All I'm wanting to do is run a simple query,
    but it says Sub or Function not Defined.
    Any help is greatly appreciated,
    -Bob

  2. #2
    Q*bert Guest

    Re: SQL and Visual Basic question.


    It might help to display the connection code you use as well as a case where
    it is not working

    set rs = conn.execute(SQL)
    usually works for me

    "Bob" <blah@lbah.com> wrote:
    >
    >Could someone please explain to me why the ExecuteSQL() sub will work in

    Devx's
    >project code, but not mine. A while ago, it would capitalize the e,s,q,
    >and l when I'd finished typing it. Now it doesn't even to that. I have
    >the 2.1 objects lib included. All I'm wanting to do is run a simple query,
    >but it says Sub or Function not Defined.
    >Any help is greatly appreciated,
    >-Bob



  3. #3
    Bob Guest

    Re: SQL and Visual Basic question.


    Well, thanks, but (call me an idiot) turns out Devx wasn't displaying all
    of the code; ExecuteSQL was a prewritten procedure that I wasn't seeing.




    "Q*bert" <luke_davis_76@hotmail.com> wrote:
    >
    >It might help to display the connection code you use as well as a case where
    >it is not working
    >
    >set rs = conn.execute(SQL)
    >usually works for me
    >
    >"Bob" <blah@lbah.com> wrote:
    >>
    >>Could someone please explain to me why the ExecuteSQL() sub will work in

    >Devx's
    >>project code, but not mine. A while ago, it would capitalize the e,s,q,
    >>and l when I'd finished typing it. Now it doesn't even to that. I have
    >>the 2.1 objects lib included. All I'm wanting to do is run a simple query,
    >>but it says Sub or Function not Defined.
    >>Any help is greatly appreciated,
    >>-Bob

    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links