HTML into filePro processing tables--the EASY way!

Kenneth Brody kenbrody at bestweb.net
Fri Mar 4 07:21:37 PST 2005


Quoting Lerebours, Jose (Fri, 4 Mar 2005 07:54:17 -0600):

> Mark posted:
[...]
> > I'm not so sure I like this.  One one hand, it's easier to
> > just change the
> > real document and reconvert to table when you need a change.
> > On the other
> > hand, it's a bit of a concern that people may do something
> > like try using a
> > variable that doesn't exist, then wonder why their processing
> > blew up.  :(
>
> Process will not blow up, they will just get a BLANK since all
> variables are defined
>
> dim dummvars(676):aa ; dim onevars(26):a  ;  dim self(999):1
>
> These arrays account for all variables aa through zz and
> a through z.  Of course, all possible real fields as well.

Or use FIELDVAL().

    FIELDVAL(-,"aa") returns the value of dummy field aa, or a null
    string if there is no such field.

    FIELDVAL(-,"37") returns the value of field 37, or a null string
    is there is no such field.

    FIELDVAL(-,"@RN") returns the record number.

And so on.

The second parameter is an expression, so you can also do something
like:

    FIELDVAL(-,FieldName)

where "FieldName" is a variable containing the name of the field whose
value you want.

[...]

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list