![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Please help. I need to open an Access 2000 database (which is on a network
server) from inside Outlook 2000, using a macro assigned to a toolbar button. If it can be done. Thank you for your help. -- Richard |
Ads |
#2
|
|||
|
|||
![]()
Please help. I need to open an Access 2000 database (which is on a
network server) from inside Outlook 2000, using a macro assigned to a toolbar button. If it can be done. Yes, you have to learn how to use ADO to open a connection to the database and then open a table or execute a query within the table. This the returns a recordset which you can walk through processing each row as required. Cheers, Rob. |
#3
|
|||
|
|||
![]()
Am Mon, 9 Jan 2006 08:07:04 -0800 schrieb Richard:
Sample with ADO: Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set cn = New ADODB.Connection With cn .Provider = "Microsoft.Jet.OLEDB.4.0" .ConnectionString = "D:\db.mdb" .CursorLocation = adUseClient .Mode = adModeShareDenyNone .Open End With Set rs = New ADODB.Recordset With rs .CursorLocation = adUseClient .CursorType = adOpenStatic .LockType = adLockOptimistic Set .ActiveConnection = cn .Open ("select [Field list] from [Tabellenname]") End With Finished: rs.Close cn.Close -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Please help. I need to open an Access 2000 database (which is on a network server) from inside Outlook 2000, using a macro assigned to a toolbar button. If it can be done. Thank you for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
unable to open default e-mail folders; info store won't open | No Avail | Outlook - Installation | 3 | July 30th 07 01:48 AM |
can't open this item unable to open the free/busy information | Patamit | Outlook - Calandaring | 0 | March 8th 06 05:31 PM |
link to outlook from Access | Philip Leduc | Outlook - General Queries | 0 | February 27th 06 10:34 PM |
How do I set up outlook express so that messages do open unless I open them. | Nev. | Outlook Express | 2 | February 26th 06 12:49 AM |
Outlook Web Access | DirPubSafety | Outlook - Using Forms | 1 | February 17th 06 07:51 PM |