Noob_Coder
Programmer
Hi all experience Foxies,
I have table named table1 which has two colums named col1 and col2.
I want set field of the table1 on position [3,2] by string value "test".
I now use:
It works, but it is not so clear as opposite process, getting value from field of the table,
where I use:
Is there any better and cleary way how to do It?
I need access to cols just by index not by columname.
So my second question is:
How to use FIELD() to get same effect like
I use VFP9.
Thank You all for your hints and tips.
I have table named table1 which has two colums named col1 and col2.
I want set field of the table1 on position [3,2] by string value "test".
I now use:
Code:
GOTO 3
myfield = FIELD(2)
replace &myfield WITH "test"
It works, but it is not so clear as opposite process, getting value from field of the table,
where I use:
Code:
GOTO 3
i = EVALUATE(FIELD(2))
Is there any better and cleary way how to do It?
I need access to cols just by index not by columname.
So my second question is:
How to use FIELD() to get same effect like
Code:
GOTO 3
replace col2 WITH "test"
I use VFP9.
Thank You all for your hints and tips.