473,903 Members | 4,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adodc Link

104 New Member
Hi, please can anyone tell me if there is a way to navigate two adodc controls. I have a from with adodc1 and adodc2 - each linked to their own mdb table working perfectly. Is there any way by code that if you use the adodc1 control to navigate to the next record it will mirror this action in adodc2.

Would appreciate any insight, not even sure it can be done.

Regards
Werner
Apr 6 '09 #1
2 1614
Wernerh
104 New Member
Just realised how easy it is, used a command button to move records back and forth
Apr 6 '09 #2
EYE4U
75 New Member
Use following codes to navigate both controls :
For Next Record
Expand|Select|Wrap|Line Numbers
  1. Adodc1.Recordset.MoveNext
  2. Adodc2.Recordset.MoveNext
For Previous Record
Expand|Select|Wrap|Line Numbers
  1. Adodc1.Recordset.MovePrevious
  2. Adodc2.Recordset.MovePrevious
For First Record
Expand|Select|Wrap|Line Numbers
  1. Adodc1.Recordset.MoveFirst
  2. Adodc2.Recordset.MoveFirst
and so on..

Regards
ARUZ
Apr 6 '09 #3

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

Similar topics

4
5987
by: Raoul Watson | last post by:
I have a form with an AdoDc control associated to a datagrid. The AdoDC uses a "ConnectionString" such as "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=..." this is where the problem begins. The data source will not be known until the user selects the database. What is really weird is that if the source is not placed during design time, during run time the form upon loading will generate an error ("Failed to
1
2327
by: blobi | last post by:
i tried to use adodc with unknown recordsource but it couldn't work when i was using datagrid with adodc as datasource. "ADO can not set for the command text". why i failed for using adodc with unknown recordsource while i would like to plan dynamic sql command. thanx
9
3330
by: Neelesh2007 | last post by:
Hi All, I have developed project in VB6.0 with access as backend.I have used ADODC control in VB to retrieve data from access. I have created the Setup file by Package & Deployment. Now when i install the software on other PC whole program works fine but ADODC can not establish connection with database. Then if I install VB6.0 then only ADODC works. Can any body guide me how can i create set-up file so that i can install my software without...
2
1337
by: techie2 | last post by:
Can you help me to handle the error with ADODC? When I run any form which has ADODC on it I get an 'Operation was cancelled' or 'Could not find installable isam' errors. How to eliminate these errors? Added to this When I open my components list, I find it blank even after I registered them manually I donít find them after I reopen it. Help me with this I must do a project in VB which has a lot to do with ADODC.
4
1493
by: alem | last post by:
Hallo friends! PlS help me I got confused. Can I use ADODC and ADODB together if I can; I already applied ADODC in my database file. How to use mathimatical functions and other code shall I use array for the text box I already use ADODC for some commands I need to use ADODB..
1
1282
by: yosh29rs | last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
2
1250
by: yosh29rs | last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
3
1723
by: yosh29rs | last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
0
1084
by: guruthe13 | last post by:
Hi Folks, I m trying to link adodc Control with the Oracle 8i, as I just a starter in this program and m trying learning new things.When I try ti use connection string and select the build button, it asks me to select the data link properties (Microsoft OLE DB Provider - is wht i select) aftr clicking next and entering the default ID-password, the procedure is to Test connection but ths creates the trouble as when I click to test the...
0
10003
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9851
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11291
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10882
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10988
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10504
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Duprť who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5897
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3327
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.