>In a valid method of an option group I am storing a value to a field in Table 1
>
>As soon that I make the STORE TO statement the SELECT() returns 3 even if the entering table was 1 and no statement at all is changing the table select.
>
>When it is doing that, the STORE statement left the Field as it was before
>
>Any clue ?
>
>Thanks
STORE was used to assing values to a variable, not a field.
Use "REPLACE" to change the value of a field.
SELECT() return the number of the current work area, not the value in a field.
HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca