Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2008, 04:35 PM
Registered User
 
Join Date: Jun 2008
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??

 
Old June 16th, 2008, 05:39 PM
Authorized User
 
Join Date: May 2007
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.









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





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