Is there anyway.. If not it would be a nice wishlist feature.

Jerry Rains jmrains at peoplepc.com
Sat Jul 17 21:29:51 PDT 2004


On Saturday 17 July 2004 19:17, John Hemmer wrote:
> I have a field number in a dummy variable.
>
> I would like to update the field value. not the
> field number. something like the inverse of
> using FIELDVAL to obtain the field value
> when you have the field number in a dummy
> variable.
>
> Given that F contains the field number and
> V is the new value to put in the field, I was
> hoping I could update he field by codes such
>
> as:  (F)=V ,   but I get a syntax error when I
> do a syntax check with dcabe.
>
> I know I can accomplish what I want to do
> with MID commands and by equivalencing
> the real fields to an array, but I was hoping
> I would not need that much code.
>
> Is there a simpler way to accomplish this.

I'm not sure why you would need mid() commands to 
do this.  Setup an array that maps the real fields then
use F to write V.

Then:  DIM Ary[NUMFIELDS]:1

Then:  Ary[F]=V

Jerry
>
> TIAA
>
> John
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list