Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 12th, 2006, 07:45 AM
Fendi Baba
Guest
 
Posts: n/a
Default 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

  #2  
Old March 12th, 2006, 01:55 PM
Bob Quintal
Guest
 
Posts: n/a
Default Re: Checkboxes - How do I display values from a reference table

"Fendi Baba" <effendi@epitome.com.sg> wrote in
news:1142148515.335026.86020@u72g2000cwu.googlegro ups.com:
[color=blue]
> 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
>[/color]
put the projectPhaseId for each option into the optionValue
property.


--
Bob Quintal

PA is y I've altered my email address.
  #3  
Old March 12th, 2006, 06:25 PM
Fendi Baba
Guest
 
Posts: n/a
Default Re: Checkboxes - How do I display values from a reference table

Thanksa for your suggestion. It worked but the only problem is the
labels are ahrd coded. I need it to come from another "table".

  #4  
Old March 12th, 2006, 11:25 PM
Bob Quintal
Guest
 
Posts: n/a
Default Re: Checkboxes - How do I display values from a reference table

"Fendi Baba" <effendi@epitome.com.sg> wrote in
news:1142187218.110171.231870@j33g2000cwa.googlegr oups.com:
[color=blue]
> Thanksa for your suggestion. It worked but the only problem is
> the labels are ahrd coded. I need it to come from another
> "table".
>[/color]
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.
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles