473,386 Members | 1,602 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,386 software developers and data experts.

Checkboxes - How do I display values from a reference table

I have a table with a field called ProjectPhaseID, and another which
shows the ProjectPhaseID and ProjectPhaseName. On the data enty form, I
want to display the ProjectPhaseName as radio button options and when
the data is committed, I want to store the ProjectPhaseID. How do I do
this?

Thanks

Mar 12 '06 #1
3 1464
"Fendi Baba" <ef*****@epitome.com.sg> wrote in
news:11*********************@u72g2000cwu.googlegro ups.com:
I have a table with a field called ProjectPhaseID, and another
which shows the ProjectPhaseID and ProjectPhaseName. On the
data enty form, I want to display the ProjectPhaseName as
radio button options and when the data is committed, I want to
store the ProjectPhaseID. How do I do this?

Thanks

put the projectPhaseId for each option into the optionValue
property.
--
Bob Quintal

PA is y I've altered my email address.
Mar 12 '06 #2
Thanksa for your suggestion. It worked but the only problem is the
labels are ahrd coded. I need it to come from another "table".

Mar 12 '06 #3
"Fendi Baba" <ef*****@epitome.com.sg> wrote in
news:11**********************@j33g2000cwa.googlegr oups.com:
Thanksa for your suggestion. It worked but the only problem is
the labels are ahrd coded. I need it to come from another
"table".

make the table and copy the labels to the description field.

You will then need to create some Visual Basic code to read from
the table and assign the labels to the option button labels.
--
Bob Quintal

PA is y I've altered my email address.
Mar 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frank Collins | last post by:
Can anyone point me to some good examples on the web of using values from dynamically created checkboxes on forms in ASP, particularly relating to INSERTING those values into a SQL or Access...
6
by: middletree | last post by:
I have a page which has something like 100 checkboxes, in three categories, so I chose to build the checkboxes into the page like this: <% strSQL = "SELECT PeopleID, PeopleDesc " strSQL =...
5
by: Deborah V. Gardner | last post by:
I would like to use "Yes" and "No" checkboxes on a subform. The problem is that when I click the Yes checkbox on the subform, all of the checkboxes are checked. Currently, I have a field...
1
by: hmlarson | last post by:
I have a form/table with checkboxes that I would like the user to check / uncheck if they want a certain record to display in a gallery on a website. I'm having problems figuring out how to...
6
by: dream2rule | last post by:
Hello All, I am trying to validate multiple checkboxes whose values are stored in an array using php. I have been trying from a really long time but nothing's working out. Can anyone help? ...
0
by: krokador | last post by:
This is doing my head in... We're starting to migrate our report-printing and such (forms included) to pdf - using xml files and nFOP with asp.net. In this case I have to print out a form which...
2
by: AlexanderDeLarge | last post by:
Hi! I got a problem that's driving me crazy and I'm desperately in need of help. I'll explain my scenario: I'm doing a database driven site for a band, I got these tables for their discography...
19
by: knlknl | last post by:
MS Access Checkboxes in Listbox Possible? Would like to have display checkboxes in a listbox, so users can click what they want and then when click on Save button selected values of checkboxes will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.