Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox filter
Message
De
12/04/2003 01:30:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Checkbox filter
Divers
Thread ID:
00776875
Message ID:
00776875
Vues:
48
i created a form that gives me the choice of selecting whether or not i want to report on Vacant, closed, occupied, or All rooms in a view that has a list of rooms (like a motel) in it. all for choices from the option group, call the same report. Most of my code to do this is in the Click event of the print button. all that works fine. now i need to add a checkbox so that i can
include/exclude temporary rooms, I.e. rooms with a number less than zero.
The default is not to include them in the report. So if the checkbox is not
checked, the room number must be greater than zero. this seems easy as compared to what i just went through, but, my brain must be fried. if i had 2 checkboxes, chkExclude and chkInclude, how can i code this? should it go in the init of the form itself? should it look something like this
(IF chkExclude = .t.
roomsummary_vp.rmnum > 0)?
i don't even know. any help, as detailed and in laymans terms as possible, would be appreciated. thank you.
damian kemper
michael_damian_73@msn.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform