locked
How do I hard-code queries and recordsets? RRS feed

  • Question

  • Can someone please help me to understand how to hard-code queries and recordsets in VS 2010 and use those queries to execute if-statements and manipulate data in a database?

    What I want to do is, amongst other  to create a login form in an application where the user enters the information, then the program searches the login table to see if they can log in, if their credentials are correct, or if they're already logged in.  I've seen online help for creating queries and recordsets, but they're all using a wizard instead of hardcoding.  Plus, you must pre-create the recordset before you can fill it, instead of just creating a record set "on the fly".

    Any help you can offer would be greatly appreciated and a huge help.

    • Moved by Cindy Meister MVP Saturday, April 6, 2013 6:26 AM not VSTO or Office related
    Friday, April 5, 2013 7:29 PM

Answers