473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Transfer info to Access

I would like to transfer an Outlook 2000 Event Calendar information
into an Access 2000 database. Please advise if and how I can do this
where after something is entered in the Event Calendar it will also
show up in an Access 2000 database. I was hoping this can be done
automatically. Or if that cant be done, then run something once every
10 mins to update the Access database with the any new Outlook
information?

I tried importing the Calendar table to an Access Database and it gives
me the Subject field, Created Date field but doesnt give me the actual
event date field.

Please advise.

Nov 13 '05 #1
5 1415
Sorry, Outlook decided to be twitty, so I can't test it, but IIRC, you
should be able to link to your calendar and then query it like a normal
table.

Nov 13 '05 #2
I can query it but the linked Table doesnt show me all the Calendar
fields. The problem is not all the fields show up in the linked table.
I am missing the event date and other fields in the table.

Please advise

Nov 13 '05 #3

te****@hotmail.com wrote:
I can query it but the linked Table doesnt show me all the Calendar
fields. The problem is not all the fields show up in the linked table. I am missing the event date and other fields in the table.

Please advise


Well, then you HAVE to automate Outlook, so you can get at those things
and write them back to Access. Simple as that. You said yourself that
there was no other way. You might want to search around here for code
to do that kind of thing. Once you *get* the data, writing it into a
table is about as hard as falling down. If you need help, you can look
up .Update in the VB help. (It's DAO... I never use ADO, since DAO is
native anyway... and much easier (for me at least) to use.)

Nov 13 '05 #4
pu
Hi,

Maybe the following might help.

Dim o As New Outlook.Application
Dim n As NameSpace
Set n = o.GetNamespace("MAPI")
n.Logon
Dim m As MAPIFolder
Set m = n.Folders.Item("Folders")
Set m = m.Folders("Calendar")
Dim c As Outlook.AppointmentItem
For Each c In m.Items
If c.Start >= CDate("1/1/2005") And c.Start <= CDate("31/1/2005")
Then
Debug.Print c.Start; vbTab; c.End; vbTab; c.Subject
End If
Next c

<te****@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I would like to transfer an Outlook 2000 Event Calendar information
into an Access 2000 database. Please advise if and how I can do this
where after something is entered in the Event Calendar it will also
show up in an Access 2000 database. I was hoping this can be done
automatically. Or if that cant be done, then run something once every
10 mins to update the Access database with the any new Outlook
information?

I tried importing the Calendar table to an Access Database and it gives
me the Subject field, Created Date field but doesnt give me the actual
event date field.

Please advise.

Nov 13 '05 #5
Thanks,
Where would I put this code? Would I put it in an Access 2000 VBA area
in a module? Please advise how I would implement this?
pu wrote:
Hi,

Maybe the following might help.

Dim o As New Outlook.Application
Dim n As NameSpace
Set n = o.GetNamespace("MAPI")
n.Logon
Dim m As MAPIFolder
Set m = n.Folders.Item("Folders")
Set m = m.Folders("Calendar")
Dim c As Outlook.AppointmentItem
For Each c In m.Items
If c.Start >= CDate("1/1/2005") And c.Start <= CDate("31/1/2005") Then
Debug.Print c.Start; vbTab; c.End; vbTab; c.Subject
End If
Next c

<te****@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I would like to transfer an Outlook 2000 Event Calendar information
into an Access 2000 database. Please advise if and how I can do this where after something is entered in the Event Calendar it will also
show up in an Access 2000 database. I was hoping this can be done
automatically. Or if that cant be done, then run something once every 10 mins to update the Access database with the any new Outlook
information?

I tried importing the Calendar table to an Access Database and it gives me the Subject field, Created Date field but doesnt give me the actual event date field.

Please advise.


Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: StephenMcC | last post by:
Hi All, Got a quick query in relation to the Server.Transfer method available in IIS 5+/ASP. I've got an issue where I want to take a portion of an online app and extract this out into a web...
5
by: Jan | last post by:
Hi, If I put a try catch block for Server.Transfer call. It will catch a System.Threading.ThreadAbortException exception like this. However, it transfer the page to the correct page. Why did...
0
by: Moheb Missaghi | last post by:
Hi: I am trying to use the Transfer statement in an .aspx file to redirect and send Form and QueryString collections to a different page. A good example where this is needed is a checkout page...
0
by: Wardeaux | last post by:
I want to be able to pass information from one session to another... here's the situation: I have a web app with session variables like "user authenticated". I want to invoke a webservice through...
2
by: P K | last post by:
I am using server.transfer for a website being developed in vs.net 2005 And I need to get the posted values after server.transfer. For this I set the second parameter "true" in the transfer...
23
by: barryfz | last post by:
I need to be able to move from one web app on my server to another on the same server and preserve the session state. I have played with server.transfer but I get an error saying I can't do this....
4
by: Luvin lunch | last post by:
Hi, I've developed a worklist system in Access and I plan to deploy four copies of it to the four users that need it. I said I'll be deploying copies because there is no shared network in the...
9
by: Bob Alston | last post by:
I have been trying to make sure my transfer of data from BE to FE is the lowest possible. I found this info in a web posting by Pat Partman, a MVP, here ...
4
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
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,...
0
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...

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.