A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Checkbox values at run time



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 29th, 2008, 07:33 PM posted to microsoft.public.access.forms
Rockn
external usenet poster
 
Posts: 48
Default Checkbox values at run time

I am trying to set up a form that will dynamically assign values to
checkboxes that are part of an option group based on the cintents of a
table.

I have set up a test form with six checkboxes and made them all hidden. I
would now like to loop through a recordset and for each record assign a
value to these controls attributes.

visible = true
option.value = PK of the record
label.value = Name of field in record
and loop to the next.

I would think I would also have to count the number of checkboxes to set the
upper bound for the loop and make sure it is not less than the number of
records in the recordset I am looking at.

Any help would be appreciated.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.