Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 20th, 2004, 09:42 AM
Authorized User
 
Join Date: Apr 2004
Location: Toronto, Ontario, Canada.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Query from 2 tables and result in Listbox

Hello y'all,

I have 2 tables with 5 similar named columns and I want to be able to perform a search that upon completion would show which table has the result.
For example, each table has columns A,B,C,D,E
The user selects from combo box and presses a query button.
If there are results, they show either in list box for table 1 or list box for table 2.

What I have done so far , was to create unbound combo boxes and union the fields from the 2 tables.
Next I placed a "and/or" combo box after each field.
That is where I am stuck. I am still learning VBA.
Any help would be appreciated.
Thanks (using Access2000)

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OTHER: Pass query result to a Form sugar Pro VB Databases 3 April 4th, 2006 11:14 AM
Show result from query akibaMaila VB.NET 2002/2003 Basics 2 January 18th, 2005 12:43 PM
Unexpected result from the query tsimsha Classic ASP Databases 1 August 23rd, 2004 03:50 AM
Query Result mateenmohd SQL Server 2000 0 November 1st, 2003 03:53 AM
Archiving query result Ned SQL Server 2000 5 October 8th, 2003 03:34 PM



All times are GMT -4. The time now is 03:53 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.