|
-
Aug 13th, 2010, 02:46 PM
#1
Thread Starter
Lively Member
Requesting advice on Linking Access Databases
Hi All,
Here's my situation: I have an Access database for one specific program at my school. I have two other programs that I would like to enter information for into this database. To complicate this, the data has to be kept seperate sometimes, and sometimes it doesn't. It all depends on what type of report is needed.
What I'm wondering is, could I make three seperate databases for each program and connect them when I have to. Sometimes I have to detatch the main database and send it off to be evaluated, so that's why I can't really blend the three together. The information would be mixed. Also if I had three seperate linked databases, could I access them all from buttons on the start form, and combine data from them into one query when necessary? Or is there a simpler approach? As always, thank you!
-
Aug 16th, 2010, 10:05 AM
#2
Re: Requesting advice on Linking Access Databases
Yeah you could.
Three mdbs and link to them as long as you have a path to follow (you need to specify or use a text file or something).
You'd need to look at ado schemas or dao (tabledefs and .connect)
Alternatively, put them all together and use filters/queries to show only information that the specific user is allowed to see.
ie use a log in screen and other thingsto filter the data.
send off the main database?
Cant you recreate the structure and use this as a template mdb. Copy the data in from the main query and send off a copy?
Last edited by Ecniv; Aug 16th, 2010 at 10:10 AM.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Aug 16th, 2010, 10:43 AM
#3
Thread Starter
Lively Member
Re: Requesting advice on Linking Access Databases
Thank you for your answer!
I've heard of ADO and DAO, but I'm not sure what they are. I'm trying to look up tutorials so I can practice. The first tutorial I clicked on was ADO in web development, but does it have to be web related? My databases are not web based. They are located on an internal network server.
I could recreate the structure and use it as a template. That would just involve a Save As, and I'd save structure only, is that right? That was, in fact, what I'd planned to do.
I hadn't thought of a log in screen. Is there a special template for one in Access, or is it just a form with text boxes? All three programs have pretty much the same staff, so I wish I could just put all the info together, and just use combo boxes to filter the info, but one of our programs is sponsored and we have to send out all that info seperately.
-
Aug 16th, 2010, 10:58 AM
#4
Re: Requesting advice on Linking Access Databases
I think there are tutorials for log in screens using access posted on this forum (somewhere).
They cover you in ADO/DAO connecting to tables, reading and perhaps writing data.
Q) What platform are you using...? All Access, Excel Front End / Access Back End, Some other front end / Access Back end?
If you stick with all access and access forms I recommend using DAO.
You can always change to ADO at a later stage should work allow bigger databases.
But I am biased as I work with Access more than Exhell 
Do you have any books on Access? If not, look for the intermediate reference guides. Mainly because once you pass beginner (assuming you like it) you wont be back there very often. Intermediate also hints at things you could do and gives a reference guide for riminding yourself of things you have done.
I used sybex access 97 when I started out, and its laid out for easy reference. It did hint at bigger things, which the internet and forums come to your aid.
Answer my question above and perhaps we can get you to a log in screen stage...? It is for work right?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Aug 16th, 2010, 06:07 PM
#5
Re: Requesting advice on Linking Access Databases
Err, I wouldn't recommend DAO. In fact from Win 7 onwards, DAO is not supported...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 17th, 2010, 08:08 AM
#6
Re: Requesting advice on Linking Access Databases
Most companies over here appear to be using Win XP. So Window 7 dao shouldn't be a problem (check your target users machines?).
Isn't DAO inbuilt with Access anyway? Still there in Access 2007? Think it is...
Most companies are using 2003 anyway, so learn it for now. Its easy to switch to ADO, just ADO isn't as tied in to Access, more flexible in some ways, confusing in others
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|