Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Access Database From within Notes

Status
Not open for further replies.

rphbrew

Technical User
Nov 30, 2002
40
US
How do I put an access database into Lotus Notes so that it will be run through Notes instead of opening the file through MS Access?

thanks for the help

 
Unfortunately this is much more difficult than you imagine. Since Notes is not a "relational database" there is no way to "view" Access from Notes. I have done a Notes Interface to an external database. Here's what I did:

I had to make a Notes Calendar program that allows for court employees to schedule a Jury Trial. The trial information needs to be added to a table in our AS400. So I have a document (Jury Request) that gets the date, time and judge of the jury trial. When the user saves the document I:
1. Run SQL statements against the database to verify that an entry doesn't already exist.
2. Run SQL statements that allow me to gather needed information other than what the user provided to run an INSERT query.
3. If the user wants to delete a requested slot, before the document is deleted, I run SQL statements against the database to make sure that nothing in scheduled in the request; then if that query returns nothing, I run a DELETE query.
4. If the user wants to edit an existing entry I havet to run an UPDATE query.

So, basically you have to have a Notes Document for every record you create in your database and have to perform all your queries and updates in the code.

It is possible, but it's a lot of extra work. Why do you want to run an Access database through Notes? Leslie
landrews@metrocourt.state.nm.us

There are 10 types of people in the world -
those who understand binary
and
those who don't!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top