Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-27-2007, 12:55 PM
callylj callylj is offline
Registered User
 
Join Date: Feb 2007
Posts: 3
callylj is on a distinguished road
Making text box link with a session

I have made a form in which a session shows the attendance of members (which is in a subform), where attendance is shown by ticking a box (also in the subform).

The thing is for each session when i use the DCount formula it adds up all of the ticks in tick boxes in the whole subform, not just the ticks in the tick boxes in the subform that are linked to the primary key session_ID.

Can any1 help me work this out?
Reply With Quote
Sponsored Links
  #2  
Old 02-27-2007, 01:09 PM
pbaldy's Avatar
pbaldy pbaldy is offline
Who is John Galt?
 
Join Date: Aug 2003
Location: Nevada, USA
Posts: 12,988
pbaldy is a glorious beacon of lightpbaldy is a glorious beacon of lightpbaldy is a glorious beacon of lightpbaldy is a glorious beacon of lightpbaldy is a glorious beacon of light
Sounds like you need to add session_ID to the criteria in the DCount.
__________________
Paul
Microsoft Access MVP
www.BaldyWeb.com
Reply With Quote
  #3  
Old 02-28-2007, 07:56 AM
callylj callylj is offline
Registered User
 
Join Date: Feb 2007
Posts: 3
callylj is on a distinguished road
Altering Dcount formula

Yer, but how do i add session_ID into the formula and use the formula i'm already using to add up attendance for each session:

=DCount("[Attendance]", "[tbl.member/session]", "[Attendance]=True")

The table with the attendance tick boxes is in tbl.member/session
But the session_ID main table is in tbl.session.
Is there anyway i can put them both in the same formula.
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't link text box Crash_Pie Forms 17 02-26-2007 04:55 AM
How to use a combo box to populate a field that is not its control source? etalent Forms 2 03-23-2004 02:37 PM
Calculations in a bound text box JeffreyDavid Forms 4 03-11-2004 09:56 AM
Auto updating text boxes by selecting value from combo box ThomasK Forms 2 05-06-2003 05:39 PM
Option group frame making labels and text box backgrounds disppear jim_blandford Forms 8 04-23-2003 11:28 PM


All times are GMT -8. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World