Skip to content

Instantly share code, notes, and snippets.

@pedroelsner
Created August 20, 2012 15:44
Show Gist options
  • Save pedroelsner/3405257 to your computer and use it in GitHub Desktop.
Save pedroelsner/3405257 to your computer and use it in GitHub Desktop.
For next - Qlikview
/**
* Carrega previamente lista de filiais
* Gera a tabela: Filiais
*/
// Número de filiais
Let vFilialCount = NoOfRows(Filiais);
For i = 0 to $(vFilialCount) - 1
// Seleciona dados/configurações da filial
Let vFilial = peek('Filial', $(i), 'Filiais');
Let VFilialCod = peek('Codigo', $(i), 'Filiais');
Let VFilialDir = peek('Diretorio', $(i), 'Filiais');
/**
* Executa algumas funções
* e passa para a próxima filial
*/
Next i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment