Ok, then I'm defiantely not clear on the "$Option1.Value". Does this actually have a value other than 1 and 0? I tried using value lastnight and it definately didn't work, at least for what I did... If you look at the top section I have $All, $Stores, $Corporate and $Failed. I'm assuming that I'm setting "$All.Value = 1", "$Corportate = 1" based on your last post. then in the case area I'm setting
code:
function ok_clicked()
select
case $Corporate.value
;do something
case $Stores.value
;do something
case $All.value
;do something
case $Failed.value
;do something
case 1 $=messagebox("You must select a value!","ERROR",20) exit 1 ;exits the function
endselect
$form.hide
endfunction
Is this assumtion correct?
_________________________
penny = the target
the playing field = three football fields side by side
you = only allowed to stand on the outside of the playing field
tool you get to use to find the penny = a ONE INCH LAWN DART
get the level of difficulty?