View Single Post
  #3  
Old April 30th, 2008, 03:43 PM posted to microsoft.public.access.forms
Rockn
external usenet poster
 
Posts: 48
Default Checkbox values at run time

I am wanting to make sure that the number of checkboxes is not less than the
number of records in the table. If there were to be less checkboxes than the
number of records in the table the correct number of checkboxes would not be
revealed at run time if there was more records.

I am not sure how to loop through the recordset, but I am assuming that I
can use a Do While the count of records does not exceed the number of
controls it will set their properties. How would I dynamically reference the
checkbox controls because they are already named and the values for each are
already set from design view or can you change any control attribute at run
time?

""Charles Wang [MSFT]"" wrote in message
...
Hi Rockn,
I am not sure if I totally understand your meaning. You had six checkboxes
and you said that you need to make sure that the number of checkboxes is
not less than the number of records in the recordset you are looking at.
So
I understand that there are must be less than or equal to six records in
your recordset, right?

If this is true, why do not you count the number of the records in the
recordset and then loop through your recordset and dynamically set your
checkboxes properties accordingly?

Please feel free to let me know if I have any misunderstanding or if you
have any other questions or concerns. Have a nice day!


Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =========
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =========
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for
non-urgent issues where an initial response from the community
or a Microsoft Support Engineer within 1 business day is acceptable.
Please note that each follow up response may take approximately
2 business days as the support professional working with you may
need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================== ==========
This posting is provided "AS IS" with no warranties, and confers no
rights.
================================================== =======