Hello all,
I have a table with various field named D10,D11,D12,D13, ...
I would like to update the fields in a loop using the macro operator.
Something similar to
This doesn't seem to work.
Can someone tell me the syntax to be used?
Many thanks in advance,
Raymond
I have a table with various field named D10,D11,D12,D13, ...
I would like to update the fields in a loop using the macro operator.
Something similar to
LOCAL cFld := ""
LOCAL nInd := 0
FOR nInd := 10 TO 20
  cFld := "D" + Str(nInd,2)
  oTable:&cFld := nInd
NEXTThis doesn't seem to work.
Can someone tell me the syntax to be used?
Many thanks in advance,
Raymond
Raymond Fischbach
www.mouches.org
www.mouches.org