Brian Bermingham
|
| Posted: 03/02/2002, 9:47 AM |
|
I am using ASP eith templates and an Access 2000 db
I am using the Custom Action of a record form to run some SQL, the record form has a check box which is not populated from the db.
The idea is if the check box is checked then run one SQL if not run a different SQL. I don't seem to be able to find a way of geting the value of the check box.
I have Obtained the generated code which shows the following in the 'Load all form fields into variables' section.
fldfAll = getCheckBoxValue(GetParam("fAll"), "1", "0", "Text")
I have tried the following without success
if fldAll = "1" then....
if getparam("fAll") = "1" then....
if getCheckBoxValue(GetParam("fAll"), "1", "0", "Text") = "1" then....
I'm sure it's some thing obvious, but I just can't see why the above should not work!
|
|
|
 |
Robert
|
| Posted: 03/03/2002, 10:52 PM |
|
the checkbox value is 'on' if checked
|
|
|
 |
Brian Bermingham
|
| Posted: 03/04/2002, 1:20 AM |
|
Thanks Robert
That was it. I knew it must have been something simple I was missing.
I had looked through the CC help, these discussions, the tips and articles and the 'Users Guide' without finding any reference. Thanks again.
|
|
|
 |
|