473,503 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Database Selection

WEG
Hi everyone,

Is there a way to search from a form for a record in one database, then if
it is not found in the first database, the search continues in another
database until the record is found?

Any help is appreciated.

Thanks
Jul 1 '07 #1
3 1705
"WEG" <we******@verizon.netwrote
Is there a way to search from a form for
a record in one database, then if it is not
found in the first database, the search
continues in another database until the
record is found?
Yes, you can link the Tables in the different Databases, but the details
will depend on how you are planning to "search". If you are searching a
particular Field for a particular value, it shouldn't be too difficult.

But, just a caution, often people post here asking about "records in
databases" using terminology from other database software, when they really
mean "records in tables" in Access terms. That, too, would significantly
affect the details of the search (and possibly would indicate some design
issues with your database, too)

If you'd care to clarify, it's possible that someone could offer a useful
suggestion.

Larry Linson
Microsoft Access MVP
Jul 2 '07 #2
Hi,
If both tables are identical and you don't care from which table it
finds the match from then you could create a 'union' query and use it
as the recordsource of the form.

but, I do agree with the others, having two tables, one for active and
one for inactive, is not good and it will continue to bite you over
and over.
bobh.

On Jul 1, 5:11 pm, "WEG" <wegra...@verizon.netwrote:
Hi everyone,

Is there a way to search from a form for a record in one database, then if
it is not found in the first database, the search continues in another
database until the record is found?

Any help is appreciated.

Thanks

Jul 2 '07 #3
Hi,
If both tables are identical and you don't care from which table it
finds the match from then you could create a 'union' query and use it
as the recordsource of the form.

but, I do agree with the others, having two tables, one for active and
one for inactive, is not good and it will continue to bite you over
and over.
bobh.

On Jul 1, 5:11 pm, "WEG" <wegra...@verizon.netwrote:
Hi everyone,

Is there a way to search from a form for a record in one database, then if
it is not found in the first database, the search continues in another
database until the record is found?

Any help is appreciated.

Thanks

Jul 2 '07 #4

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

Similar topics

2
3914
by: Simon | last post by:
Hi, I am having a little problem with my PHP - MySQl code, I have two tables (shown below) and I am trying populate a template page with data from both. <disclaimer>Now I would like to say my...
9
2163
by: Ruby Tuesday | last post by:
Which one is better to do dynamic websites using MySQL? Thanks a.. ADODB, http://php.weblogs.com/ADOdb/ b.. Metabase, http://www.phpclasses.org/browse.html/package/20.html c.. PEAR::DB,...
5
2432
by: Jim Cobban | last post by:
I am trying to create a web page in which the contents of one selection list depends upon which element in another selection list is chosen, but where the information to populate the first...
0
3069
by: ImraneA | last post by:
Hi there Many thanks to those people who contributed to this group, helped me greatly. Enclose, my code, hope it helps others :- Public Function Export_Excel_9(tbx1 As Variant, tbx2 As...
0
1131
by: Tamer Higazi | last post by:
Hi! I am trying to insert with PDO-Sqlite rows through a form. I can do whatever I want, I don't find the sollution where I made the error. Perhaps somebody of you could help me?! However, the...
1
1822
by: BeanCounterCPA | last post by:
OK, I'm sure there is an easy way to do this, but I am just a novice at Access and can not find a solution. I have a database that I used to pull a confirmation sample from by using dollar unit...
1
928
by: Leanne | last post by:
I created customized application to Microsoft POS system. I am now working on the installation package. Any one knows how to get the local sql database settings, and get user select database, so I...
1
1658
by: imwhiteandnerdy | last post by:
i'm hoping I can get some help with adding my combo box selection to my access database.Any Help would be appreciated. I've been told I need complex binding Basically I just want to add the...
4
2553
by: sialater | last post by:
Hello, I realise there are a lot of topics related to this problem but many of what I have found has run cold or unresolved. What I have is an addressbook clone where there are groups which have...
1
2398
by: Tony Johansson | last post by:
Hello! I use VS 2005. A Datasource can be a Database, Web Service or an Object. So I select Data->Add New Data Source in the menu. In the dialog data Source Configuration Wizard I choose...
0
7063
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...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.