473,411 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Tick box value

I know this is probably a fairly simple question but i am relatively new to databases.
I have created a database for a riding school which records when people book a lesson, if they have paid a tick box in a filed named "paid" is ticked to say they have done so. There is also a field named "money owed" which I wish to display the amount a person owes if they have not paid for the lesson.
I was wondering if it is possible to give a value to a check box whilst it is unchecked, which will be displayed in the amount owed field? Any help is much appreciated.
Mar 26 '07 #1
2 2665
Rabbit
12,516 Expert Mod 8TB
A checkbox by itself only has the value True or False. You can assign values with an option group but that requires multiple checkboxes. You could use VBA to assign values using a If checkbox = True Then ...
Mar 26 '07 #2
NeoPa
32,556 Expert Mod 16PB
I know this is probably a fairly simple question but i am relatively new to databases.
I have created a database for a riding school which records when people book a lesson, if they have paid a tick box in a filed named "paid" is ticked to say they have done so. There is also a field named "money owed" which I wish to display the amount a person owes if they have not paid for the lesson.
I was wondering if it is possible to give a value to a check box whilst it is unchecked, which will be displayed in the amount owed field? Any help is much appreciated.
It may be better to store any values in your record as numerical or currency type fields. This can then be shown as a CheckBox by entering a formula dependent on the value stored.
Mar 28 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: markeboy | last post by:
I need to show a tick char on an aspx form I cannot see any unicode representation for this. short of using a graphic, is there a better way?
4
by: Greg | last post by:
I keep getting an error when I have a tick mark in a text value that I am searching for in my XPath Query. Example: <Authors> <Author LastName="O'Donnel"> <Author LastName="Smith">...
7
by: J. Hill | last post by:
I have a Windows Service with a timer but the .Tick event is not being fired/called. Don't know what code to include...I enabled and started the timer...I have the exact same code in a Windows...
10
by: Martin Eyles | last post by:
Hi, I want to make a scale on a graph, by telling asp to insert empty divs of class tick, and the setting the style in css. I am trying to get a 3D effect by using colored top and bottom borders...
7
by: TimC | last post by:
Hello all, A question from someone who dabbles in Access. Is it possible to hide or ghost out a combo box (or set of them) on a Form, and only have them appear as a usable option if a tick box...
9
by: appelsinagurk | last post by:
Hi I'm fairly new to .Net programming so I'll try to explain my problem as easy as I can, and in advanced sorry for my poor english. I've got some spare hours where I work, so I've decided to...
1
by: Inaccessable | last post by:
This is probably very simple but still beyond me. I have a table that stores text in a number of different languages. Each entry has a unique ID number. Each language version of the same text...
4
by: paul.bentley | last post by:
I am trying to get a "Date entered" box to automatically fill when a tick box = true, without success so its over to the experts for some much needed help Thanks in advance
18
by: sweeneye | last post by:
Hi, I'm basing a query on the variables used in a form. The database contains lots of problems, say with a computer and a tick box for the apropriate component like monitor, keyboard, mouse etc....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
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...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.