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 | Calendar | 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 June 16th, 2008, 04:35 PM
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default This may be impossible...

...but i'm giving it a shot!

I'm working on a form for a personel database for a theatre company. I want to have my new magical form be able to sort by position and then the subform be continuous with information of what person, their tax information and contact information. However the money stuff and phone number and address are all in seperate tables.

Is it possible??

Reply With Quote
  #2 (permalink)  
Old June 16th, 2008, 05:39 PM
Authorized User
 
Join Date: May 2007
Location: , , .
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the simplest solution, i can think of at the moment, would be to have the record source of the subform being a query with the criteria equal to the combobox or list box that you are using for the search and in the afterupdate event of that combo box have the subform's recordsource requeried.

e.g.
SELECT tblsuberrors.suberrorid, tblsuberrors.errorgroup, tblsuberrors.suberrortype FROM tblsuberrors WHERE (((tblsuberrors.errorgroup)=Forms!fsubartrainentry !cboerror));

in the above i'm picking select all the suberrors where the errorgroup is in the combobox i just changed.




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
Paste to another program, impossible? DavidD Excel VBA 4 December 3rd, 2007 11:24 AM
SCJP is looking impossible for me. srikrishna JSP Basics 0 October 23rd, 2006 12:53 PM
combining values from for-each loop..impossible? Brian Campbell XSLT 2 June 6th, 2006 10:58 AM
Impersonate impossible on remote SQL Server? greamb Classic ASP Databases 2 December 10th, 2004 06:15 AM
Impossible MySQL Query? mrcornelia SQL Language 4 November 18th, 2003 03:08 AM



All times are GMT -4. The time now is 08:26 PM.


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