473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Data access in VB6 equivalent in VB2005

I am in the process of moving from VB6 to VB2005.
I need some help with methods that I frequently use in my apps and are struggling to find the equivalent process and more sepcifically code examples with correct syntax for VB2005.
The basic stuff, creating input forms using designer is easy enough.
I need to open a database (Access 2000), then open 2 tables, then loop through table 1, using a value in row1 column 2 and then search for that value in table 2. I then want to insert/edit a value in column X in table 1 and update(save) the changes. Either one by one or batch update at the end. Whatever method is more efficient.
I then want to move to the next row in table 1 and repeat the process.
regards
Feb 26 '07 #1
1 1285
sashi
1,754 Expert 1GB
I am in the process of moving from VB6 to VB2005.
I need some help with methods that I frequently use in my apps and are struggling to find the equivalent process and more sepcifically code examples with correct syntax for VB2005.
The basic stuff, creating input forms using designer is easy enough.
I need to open a database (Access 2000), then open 2 tables, then loop through table 1, using a value in row1 column 2 and then search for that value in table 2. I then want to insert/edit a value in column X in table 1 and update(save) the changes. Either one by one or batch update at the end. Whatever method is more efficient.
I then want to move to the next row in table 1 and repeat the process.
regards
Hi there,

Show us your code segment, will try to debug your code. Take care.
Feb 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: jqpdev | last post by:
Hello all... I'm coming from a Borland Delphi background. Delphi has a specific component called a Data Module. In the designer the Data Module behaves like a windows form. A developer can...
1
by: Chris Strug | last post by:
Hi, Probably a very silly question but I've been scratching my head for days now so... I'd also like to point out that my knowledge of VB.net is somewhat limited... I recently downloaded...
15
by: philip | last post by:
On a form, I have a datagridview. This datagridview is constructed on a dataset filled by a tableadapter. The table adapter do very well what it must do when filling dataset. Insertions,...
7
by: Darhl Thomason | last post by:
Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005. Thanks! Darhl
3
by: Anna | last post by:
Hi: I have a table in Access in which some of the fields are linked with other tables in the same databse. I create a datagrid in VB.NET but the fields which are lookup it also shows as an...
3
by: Boogie | last post by:
I watched my friend do this about a year ago, and was just wondering if someone could point me to an article. THe database that im making is extremely simple. I do not believe there is even 1...
2
by: ags5406 | last post by:
I've looked at lots of solutions for this but I must say that I'm thoroughly confused. VB2005... Let's say I've created a table in an access database called Table1 that has two columns and...
1
by: Amit | last post by:
Hello , Is there any way i can import data from datagrid to sqlserver. please advise . thanks & Regards
4
by: TD | last post by:
I am trying to change the forecolor of a field in a subform that is in datasheet view. I am using Access 2007. I have tried everything I can think of to do this but the text still appears in...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.