473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in adodc1 connectivity

3 New Member
Dear All....

I am doing a project where adodc1 has connected through below mentioned code.

Adodc1.Recordse t.Close
Adodc1.Recordse t.Source = "select gno,gdesc,gqty, gvalue from gntemp"
Adodc1.Recordse t.Open
Set DataGrid1.DataS ource = Adodc1.Recordse t
DataGrid1.ReBin d

By this code sometimes data is showing into the datagrid and some time data is not showing. If somebody can help me to resolve the problem then i will be greatful to him.

Regards

Abhijeet
Aug 25 '07 #1
1 1380
QVeen72
1,445 Recognized Expert Top Contributor
Hi,

Refresh the Datacontrol before binding and after changing rec source ,

ADODC1.Refresh

Regards
Veena
Aug 26 '07 #2

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

Similar topics

0
1244
by: Jeroen van vliet | last post by:
Hello, can anyone tell me what i am missing here?? I have a textbox named "txtLidcode" I have a datagrid named "data" I have a command button named "command3" The datdagrid has a datasource of an ado control named "adodc1". When the "command3" button is clicked i have strSql = "Select * from Leden WHERE Lidcode LIKE ´ *" & txtLidcode.Text & "*´" adodc1.Recordsource = strSql
6
3312
by: Iain Bishop | last post by:
I'm trying to model objects for the following problem: A building site contains assemblies, each of which can contain other assemblies and/or materials. I have modelled this using a Site class, Assembly class, and Material class as follows... Site Class (clsSite): Option Explicit
1
6273
by: lovkeshanand | last post by:
Dear All, I am using the oracle transparent gateway connectivity with sql server using tg4msql,as far as settings are concerned those were set and Connectivity is working Fine, and getting the response from that server. here is description what I done as:-There is a View on Sqlserver which is Join of 6 tables and have
3
1050
by: dreamonzzz | last post by:
im new to vb, still learning how to handel stuff.... i have this run-time error '91' that says that refers to .Addnew this is my coding Option Explicit Private Sub Form2_Load() With Adodc1 .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ App.Path & "\database3.mdb;Persist Security Info=False"
0
977
neo008
by: neo008 | last post by:
Hi All, I have built up an adodc connnection and using it through connection strings. I'm facing problem with update query- code looks like- adodc1.recordource="update products set stock=" & NewStock & " where product_id=" & proid & ""
0
1045
Ali Rizwan
by: Ali Rizwan | last post by:
Hi all, i m having a problem with this code. Actually i want to refresh connection by closing and opening it. But the problem is that it do well when i update once but when i update it once more it gives me an error of Microsoft jet database engine cannot find the input table or query 'Command1'. Make sure it exists and that its name is spelled correctely. Private Sub Command1_Click() Adodc1.Recordset.AddNew 0,...
6
1837
lee123
by: lee123 | last post by:
im trying to connect a datagrid on a form that has two controls (adodc1 and adodc2) on it one is for the lessor table and the other is for the lease table. i tried to use an sql statement for the lease one but i have no clue what i'm doing im useing vb6 and i have a database from access (2000) where all of this is getting it's information my access database has these fields: (in lessor table) lessorID = autonumber lessor name = text...
2
1022
by: venkatanarasimhaa | last post by:
Hi, My Query is "SELECT * FROM table WHERE Acc_no like '1*' " If I run this query in Ms-Access directly, it is working fine. but if i try to show the same result in the datagrid, it is not showing any results. My code is : strsql = "SELECT * FROM table WHERE Acc_no like '1*' "
4
1262
by: alem | last post by:
Hallo friends! like I ask you befor I try to use both the connection but highlite this code Call Adodc1.Recordset.ActiveConnection I need to open this query by using button click. like usual I need your support please . Thank you in advance Dim cn As New ADODB.connection
0
9576
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
10567
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
10323
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
10310
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
10074
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
7613
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
5515
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...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.