To clarify my original posting, I am trying to use check boxes in a data entry 
form. There are no variables associated with the check boxes. The default state 
would be blank or null. When a person registers for the meeting, he/she 
specifies the sessions he/she will attend. A check would be entered into the 
boxes for the appropriate session so the column data would be 1 (or it could be 
Y).

The idea is to get an accurate count of the number of people in each session so 
the presenter will know the size of the audience and so we will have the right 
size room for each session.

If all the boxes are checked when the entry form opens, and if the registrar 
doesn't uncheck the ones which the registrant did not select, then all of the 
columns and counts will be wrong when the row is saved.

I got this to work right before I applied the latest update, but it doesn't 
work right now.



Richard S. Croy
[email protected]

====================================
This message has been checked with an up-to-date 
version of Norton Antivirus before sending,
====================================
  ----- Original Message ----- 
  From: [email protected] 
  To: RBASE-L Mailing List 
  Sent: Friday, December 12, 2008 3:28 PM
  Subject: [RBASE-L] - Re: Check Boxes


  Richard:  A default state, to my knowledge, is only applicable when you are 
entering a new row of data into the table.  The same as in 6.5 days when you 
defined a "default value" and it would only show up in a new row of data.  

  If you are editing a row of data, make sure that column has either the 
checked or unchecked value (T / F,  Y / N, whatever you define as the values in 
the control).    If the row of data has a null value, or a value other than the 
T/F, then sometimes the check box will show up as checked but greyed-out, 
meaning the control has no idea whether it should be checked or not.   Do you 
think this is what's happening?

  If you're using a variable checkbox rather than a DB one, then make sure the 
variable is predefined, and initialized with one of the 2 values you have 
specified so it knows whether to display checked or not.

  Karen



    Is there a "Tip of the Day", a "From The Edge", or some other R:Base 
    documentation on using check boxes on forms? (R:Base 7.6EE with the latest 
    update)
    I am having problems working with this control, not the least of which is 
    that while I set the default state as "Unchecked", whenever I open the form 
    to enter data, the all of the check boxes are checked. I can't use them 
that 
    way. Thanks!

    Richard S. Croy
    [email protected]

Reply via email to