Hi,
Can you help me about this code sintax? The compiler results ")" error. Thanks in advance.
oFrPrn:SetUserDataSet( "aClientes", cFld,;
{ || nAt := 1, EVAL( bResync, nAt ) },;
{ || nAt++, EVAL( bResync, nAt ) },;
{ || nAt--, EVAL( bResync, nAt ) },;
{ || nAt > LEN( aClientes ) },;
{ |cFld| iif( cFld == "Codigo", aClientes[ nAt, 1 ],;
iif( cFld == "Nome", aClientes[ nAt, 2 ],;
iif( cFld == "Endereco", aClientes[ nAt, 3 ],;
iif( cFld == "Bairro", aClientes[ nAt, 4 ],;
iif( cFld == "Cidade", aClientes[ nAt, 5 ],;
iif( cFld == "Uf", aClientes[ nAt, 6 ]))))))})