|
| problems with array |
 |
Tue, 18 Mar 2008 15:52:40 -040 |
dBase Plus>> I have an applications that is doing a really strange thing.
For some reason the data from some checkboxes on the html form are not
becoming part of the data array sent to the dBase executable. For example,
one of the checkbox variables is called "excessauto0", which is first
instantiated on this form. So I start my program lines with "cExcess =
oCGI["excessauto0"]" and I get an invalid subscript reference
error. I
can't figure out why this does not work on this form.
--
Dan Anderson
UBI Processing Dept.
andersond@ubinc.com
800-444-4824 ext 101
|
| Post Reply
|
| Re: problems with array |
 |
Tue, 18 Mar 2008 16:48:41 -040 |
If a checkbox is not true, the browser does not post the field. Therefore the
dBASE oCGI array will not contain that key value. I use the following:
cExcess = "false"
if oCGI.isKey("excessauto0")
cExcess = "true"
endif
Dan Anderson wrote:
> dBase Plus>> I have an applications that is doing a really strange
thing.
> For some reason the data from some checkboxes on the html form are not
> becoming part of the data array sent to the dBase executable. For example,
> one of the checkbox variables is called "excessauto0", which is
first
> instantiated on this form. So I start my program lines with "cExcess
=
> oCGI["excessauto0"]" and I get an invalid subscript
reference error. I
> can't figure out why this does not work on this form.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|