Search : in
By :

DBS connection problem in Access using VB

lohi, on Sep 22, 2009 9:29:19 am BST 
 Report this message to moderators

Hello all,
I am a regular visitor of this blog and all the replies help me a lot many times in doing my work...

I am trying to make an Inventory mangent s/w in Access and using its forms option to design all forms and use lil bit VB(tht cms integrated with Access itself) to handle customize query.

I had write below coding for a button click named Update ….and the error says drivers nt specified…
So I tried to install frm accees given controls bt did nt find it there…
I search it on the net and found out tht it automatically installed whn u install ms-office and if its not thn u hav to install it frm registry….tell me if it is so?

Private Sub Command29_Click()
Dim con As New ADODB.Connection
con.Open "d:\excel\db2.mdb"
con.Execute "update [Inventory Transactions] set quantity=" & Quantity.Text - sold.Text & "where [SKU Code]=" & [SKU Code].Text
con.Close
End Sub

Another way i thought to make a connection using DSN(whch I mke it frm administrative tools) bt in that case it gives persistent run time error that an unknown user blocks u to open or change dabase…

plz guys let me knw the way out....its very very urgent...my all project gets struked due to this...
Thanks in advance....Another way i thought to make a connection using DSN(whch I mke it frm administrative tools) bt in that case it gives persistent run time error that an unknown user blocks u to open or change dabase…given below…

plz guys let me knw the way out....its very very urgent...my all project struke due to this...
Thanks in advance....

Configuration: Windows XP Internet Explorer 6.0

Best answers for « DBS connection problem in Access using VB » in :
VirtualBox: Setting an internet access for a Vista VM ShowVirtualBox: Setting an internet access for a Vista VM To use the Internet with Vista via VirtualBox under Ubuntu Gutsy (7.10), for example: Vista natively has no internet connection in VirtualBox (unlike XP) as Ethernet controller is...
Connect your PSP to your wireless router ShowConnect your PSP to your wireless router PSP Configuration The PSP can be connected wirelessly to your router. There are some steps to follow to configure the connection between the PSP and the Router Router Configuration To access...
Connect a database (MDB) to excel Show[VBA] Connecting a database (MDB) to excel Below is a tips of how to connect an Access database (MDB) in an application excel Add reference Microsoft DAO object librairy X.X In a general module (eg Module1) paste the code below...
Download Outlook Connector ShowConnector Microsoft Outlook allows to use Outlook 2003 or Outlook 2007 to access and manage freely your Windows Live Hotmail or Live Mail accounts, especially the contacts. Depending on the services, the calendar task synchronization and the notes...
Download Avanquest Connection Manager Free ShowWith the increasing development of wireless connection or Wifi, you can connect to internet almost anywhere. The only problem with this technology is that you must time configure your computer so that it can use the available network. Avanquest...
Sharing an Internet connection ShowAdvantages If you have a local area network (two or more computers connected in a network) with one computer connected to the Internet (via a modem, using a cable, etc.), it may be useful to make the connection accessible to the other computers on...
WPA - WiFi Protected Access ShowIntroduction to WPA WPA (WiFi protected Access) WiFi network security solution offered by the WiFi Alliance, in order to fill gaps in WEP. WPA - WiFi Protected Access WPA is a "light" version of the 802.11i protocol, which relies on...
DVI connector ShowDVI connector DVI (Digital Video Interface) connectors, found on some graphics cards, are used for sending video signals digitally to screens with a suitable interface. They bypass the needless and potentially quality-reducing digital-analog...