Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 518807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:58:31+00:00 2026-05-13T07:58:31+00:00

I want to assign database table columns to recordset in vb6. And i want

  • 0

I want to assign database table columns to recordset in vb6. And i want update them with the values that i have in my another recordset. Is that possible?

How to assign the data from table to recordset?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:58:31+00:00Added an answer on May 13, 2026 at 7:58 am

    An ADODB recordset is not a mirror of a database table. The recordset contains whatever you want it to based on the query you provide it. So to load the data from the database into the recordset you need to execute a query. This can be done in two ways.

    1. Use the ADODB.Connection.Execute method and set your recordset to the result.
    Dim con as New ADODB.Connection  
    Dim rs as ADODB.Recordset  
    con.ConnectionString = "some connection string"  
    con.Open  
    Set rs = con.Execute("SELECT * FROM table")
    
    1. Create an ADODB.Recordset object, specify the connection and then call the Open method passing it a query.
    Dim con as New ADODB.Connection  
    Dim rs as New ADODB.Recordset  
    con.ConnectionString = "some connection string"  
    con.Open  
    Set rs.ActiveConnection = con  
    rs.Open "SELECT * FROM table"
    

    The query can be as simple or complex as you want it be. The query could ask for fields from multiple tables and the recordset will still contain the results of the query, however you won’t be able to tell which table the fields are from.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ten fields in my table in database..And two columns out of them
Some background: I have an database that I want to use linq-to-sql to update
I have a pre-defined database that I want to map using Entity Framework 4
In a database I want to be able to assign values of a varying
I have a sqlite table that has amount field with NUMERIC(10,5) value(I know data
I want to assign a matrix N values long to N entries in a
I want to assign categories based upon the format of the book that will
I have 4 items in and I want to assign 4 different background-color to
If I have a nullable decimal? d and I want to assign d to
lets say I have a <div id=god> Supertext </div> I want to assign <div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.