#1 (permalink)  
Old 05-29-2009, 12:01 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,307
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Frontpage - db - total

Hey, all!

Okay, I am updating a form from last year here at work, and it is necessary to use FP. Anyway, it was asked to add an option for ppl to select if it is their first time to attend the event, which is simple to do... but it was also asked that on the attendee list to show a total of how many ppl are attending for their first time.

I know I could set the db to show who selected "yes" for that field, but does anyone know if there is a way for me to get it to sum up the total and print it below the attendee list? And is there a way for me to get a total number of everyone signed up as well? I know I could just add the ID number in the db, but considering I have it sorted by last name... it would look really weird having the ID column all out of order.

Thanks for the help and the ideas!
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Last edited by Leprakawn; 05-29-2009 at 12:11 PM..

  #2 (permalink)  
Old 05-29-2009, 08:30 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,531
What kind of database are you using? Does it accept SQL code? If so, you should be able to do a query like:
Code:
SELECT COUNT(*) AS total FROM table WHERE first_time='yes';
__________________
I hate Internet Explorer! Anyone with me?
  #3 (permalink)  
Old 06-01-2009, 09:58 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,307
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
I am using the standard Access db, and this would be one of those situations where I wish my desktop publishing class had covered Access.

Now I could do the same thing with that code to get a total count of applicants, correct?
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
  #4 (permalink)  
Old 06-03-2009, 08:13 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,531
IIRC, Access does accept the COUNT function (which is a fairly standard SQL command). If so, absolutely, you can use that to get the total number of applicants.
__________________
I hate Internet Explorer! Anyone with me?
  #5 (permalink)  
Old 06-03-2009, 08:53 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,307
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Okay, cool. I will see if I can try that out tomorrow... I have been swamped at work the past few days!

Thanks, Curtiss!
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Closed Thread


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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Total Calculations cbruss Programming and Scripting 1 12-03-2007 09:38 AM
Accessible, Proper Multi-Level Tabular Data curtiss Programming and Scripting 2 03-12-2007 09:00 PM
Total Layer Issues SympliG0th Programming and Scripting 2 06-25-2006 09:24 AM
When Users Upload *.txt file, i will get Total Points ,Points Per Game ,etc... serhat_kk Programming and Scripting 4 06-17-2006 08:07 AM
GRRR @ Frontpage seccondbest Programming and Scripting 4 09-10-2005 04:39 AM


All times are GMT -5. The time now is 10:59 PM.

 
Clicky Web Analytics
CloudContacts
Loop11
Page.ly


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
© 1997-2009 HTMLCenter