13c0c what the problem with this code
Sign Up |  Live StatsLive Stats    Articles 37,295| Comments 176,931| Members 19,397, Newest birinder| Online 461
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




what the problem with this code

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Is India's Rape Problem Also a Police Problem? spnadmin Legal & Advisory 2 08-Jan-2013 04:18 AM
2 Questions: Code to exit via cmdExit; Code to hide/disable tool b AndyG Information Technology 5 28-Jul-2006 08:39 AM
Need help to look at code Richard Information Technology 4 28-Jul-2006 08:37 AM
Access 97 code openrecordset problem Bob Information Technology 1 02-Nov-2005 11:47 AM
Msg Box Code James New Information Technology 2 29-Oct-2005 12:35 PM


Tags
problem, code
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 27-Oct-2005, 08:58 AM
alecarnero's Avatar alecarnero
Guest
 
Posts: n/a
   
   
what the problem with this code

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have write this code for populate one access form , i m working with
access XP,

Private Sub Form_Load()
DoCmd.Maximize

Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset

Set cn = New ADODB.Connection
Set rs = New ADODB.Recordset

cn.Provider = "Provider=Microsoft.Jet.OLEDB.4.0"
cn.ConnectionString = "Data Source=E:\work\center\cadastro.mdb"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/5865-what-the-problem-with-this-code.html
cn.Open

rs.Open "tbcliente", cn, adOpenDynamic, adLockReadOnly, adCmdTable

rs.MoveFirst
rs.close
cn.close

End Sub

I have this error "3706" "Provider cannot be found"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=5865

Thanks in advance

Alejandro Carnero




Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 27-Oct-2005, 08:58 AM
Van T. Dinh's Avatar Van T. Dinh
Guest
 
Posts: n/a
   
   
Re: what the problem with this code

  Donate Today!  
Try:

cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=E:\work\center\cadastro.mdb;"
cn.Open


--
HTH
Van T. Dinh
MVP (Access)



"alecarnero" wrote in message
news:eoeEMEk2FHA.2292@tk2msftngp13.phx.gbl...
>I have write this code for populate one access form , i m working with
> access XP,
>
> Private Sub Form_Load()
> DoCmd.Maximize
>
> Dim cn As ADODB.Connection
> Dim rs As ADODB.Recordset
>
> Set cn = New ADODB.Connection
> Set rs = New ADODB.Recordset
>
> cn.Provider = "Provider=Microsoft.Jet.OLEDB.4.0"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=5865
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=5865
> cn.ConnectionString = "Data Source=E:\work\center\cadastro.mdb"
> cn.Open
>
> rs.Open "tbcliente", cn, adOpenDynamic, adLockReadOnly, adCmdTable
>
> rs.MoveFirst
> rs.close
> cn.close
>
> End Sub
>
> I have this error "3706" "Provider cannot be found"
>
> Thanks in advance
>
> Alejandro Carnero
>
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Map shows world's 'most...
Today 23:56 PM
7 Replies, 97 Views
Of Serpents, Pigs,...
Today 23:29 PM
35 Replies, 839 Views
The Great Imp Debate
Today 23:12 PM
31 Replies, 448 Views
Thought of the Moment!
Today 20:55 PM
104 Replies, 4,957 Views
Sikhs making Their...
Today 20:51 PM
0 Replies, 31 Views
Panjabi
Today 11:53 AM
8 Replies, 187 Views
Do you believe in...
Today 11:43 AM
163 Replies, 3,439 Views
A Sydney [Aust] man who...
By Ishna
Today 11:04 AM
0 Replies, 56 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 10:42 AM
164 Replies, 4,264 Views
BHOOTS (Ghosts) and...
Today 08:20 AM
91 Replies, 13,703 Views
Before He Was Sir...
Today 05:40 AM
6 Replies, 131 Views
Should SPN Keep the...
Today 04:37 AM
15 Replies, 296 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:52 AM
298 Replies, 7,361 Views
‘Our girl was murdered...
Today 01:37 AM
8 Replies, 164 Views
Magnacare ? Cure for...
Yesterday 19:45 PM
3 Replies, 799 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 23:59 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 1.12238 seconds with 32 queries
0