I have a Tabular Form which lists my score per hole in the way of "Par"
"Birdie" ect. I need to create a Text box which counts the number of times
"Par" is listed or each hole.
EG:
Form Name is: VPar1 Form
Field Name is: VPar01 (lists the data below)
Reord Source is: VPar1 (this is a query)
After 6 games Hole01 in the Tabular form shows:-"
Bogey
Par
Par
Bogey
Double
Par
What is the formula to count the number of Pars.
Thanks.
DGolfer. 4 1708
Hi,
not sure that you would want to organize your table that way or keep
records in that form (Par, Bogey, etc) - being a golfer I would think
you would have a hole, have a field for Par (say 4) and have records
indicating the score you received on the hole at various times - at
some point you are going to ask yourself, what is my average score on
hole 7 at Pebble Beach - you can't do that the way you are tracking
info now..
JimA
I think you could use DCount to perform this:
DCount("[Score]", "tblScore", "[Score] = 'Par'")
you'd need to use DCount within your query and reference the result
with your textbox on your form. I recommend you read the DCount
Helpfile in Access. I must also confess I have never used DCount
myself and so I may be wrong!
DG
Hi JimA,
The data I listed is created from a query I produced from the course table
and score table. I do record individual strokes per hole per course, and do
have an indepth analysis set up. This query was produced from my tables of
scores and was step one in producing more details on the number of Pars,
Bogeys, Birdies ect for all Par3s, Par4s, Par5s.
I did ask for help on a particular formula, not for advise on how to set up
a database.
"Panzerlied " <JA*****@WorkOp portunities.net > wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. . Hi,
not sure that you would want to organize your table that way or keep records in that form (Par, Bogey, etc) - being a golfer I would think you would have a hole, have a field for Par (say 4) and have records indicating the score you received on the hole at various times - at some point you are going to ask yourself, what is my average score on hole 7 at Pebble Beach - you can't do that the way you are tracking info now..
JimA
Hi David
I have used the DCount formula and solved my problem.
=DCount("*","VP ar1","VPar01='P ar'")
Thanks.
"David Gatheral" <da***********@ yahoo.co.uk> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. . I think you could use DCount to perform this:
DCount("[Score]", "tblScore", "[Score] = 'Par'")
you'd need to use DCount within your query and reference the result with your textbox on your form. I recommend you read the DCount Helpfile in Access. I must also confess I have never used DCount myself and so I may be wrong!
DG This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: laurie |
last post by:
Hi all,
I'm trying to help out a friend who has inherited a client with a PHP
shopping cart application. Neither of us know PHP, but I've been
muddling my way through, trying to get these old scripts working on a
new server with the most recent version of PHP. I've pretty much
taken care of all the various errors that were popping up. Most only
pointed out out non-fatal undefined or assumed variables. I've been
able to cure most of...
|
by: Mike Hoy |
last post by:
hi
i've been writing a golf game in text only. this was to work out some of
details. it's great but making a golf course with ---'s and |||'s is
kinda silly looking. (at least to some..)
now i'm ready to begin shopping for a gui widget to work with python so
my players can have some kind of pictures and possibly some motion.
i won't be creating figures swinging the golf clubs but would like to
|
by: John MacLeod |
last post by:
I'm stumped...
If anyone here considers themselve's knowledgeable about databases & sql,
and is open to a challenge, I would truly appreciate their help. I have a
fairly limited knowledge of database design and I have been struggling with
this for 6-weeks now.
I will give a brief overview here and if anyone is interested in working
with me to figure this out I ask that they email me directly and I will send
more detailed info...
|
by: Jack Bruss |
last post by:
I've got a small database that I use to track my golf scores. It's got 2
tables, Courses and Round Details. The Courses table contains the names of
all the courses I play and the Round Details table contains info on each
round of golf I play.
When I want to enter data from a new round, I use a form, which I'll call
"RoundData", and in this form I select the course from a combo box, and then
enter the round information like score, number...
|
by: deejayquai |
last post by:
Hi
I'm still trying to solve my problem. I have two tables- students and
activity assessments, they're linked one-to-many. From a
lookup/combo/list I'd like to be able create a series of new
activity assessment records each with the activity name field populated
per student or group of students.
i.e. Bob has no activity assessments but on a form 10 activities (golf,
football etc)are highlighted, click a command button and viola!...
| |
by: J.L.Cooper |
last post by:
Hi,
As you can probably guess from my posts so far I enjoy doing fun and
interesting coding as a hobby. I was wondering if anyone knows of any Golf
style competitions for C? (I.e. winner is the programmer whose program has
the lowest number of characters in the source code that completes a specific
task)
If people don't know of one then perhaps we could arrange an informal one.
--------------
Jason Cooper
|
by: chapmjw |
last post by:
I'm looking for an C# example of a form with a picture box that Directx
can draw to. My program plots the flight of a golf ball and I need to
do it realtime. I would like to keep as a child window on the form
because there are 15 or so parameters that can be changed just above
it.
Could you please point me to an example or advise to get me started.
thanks
jim
|
by: Spad2 |
last post by:
hi, does anyone know how to make sure at least one checkbox is checked but no more than three are checked? i need to use vbscript in asp. this is my form:
<html>
<head>
<title>Task 5</title>
</head>
<body>
<h1>Hobby Selection Page<br /></h1>
<form method="post" action="task5.asp" id="hobbies" >
<p>
|
by: =?Utf-8?B?am9uaWdy?= |
last post by:
New to VB.NET, designing my first form with an MS manual at my side, placing
objects and writing code.
For good reason I just:
SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.
|
by: zelmila19 |
last post by:
Hi anyone,
Could someone check this program for me, I've given it a go, it runs well but gives me 6 of this warning:
warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
Please check this and let me know if I've left out anything or any additions, anything:
#include <iomanip>
#include <iostream>
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |