Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     While Not rs.EOF
  2.         For j = 0 To registros
  3.             If Not rs.EOF Then
  4.                 For i = 0 To 2
  5.                     If Not rs.EOF Then
  6.                         Nomes(j) = Nomes(j) & rs!TBREP_NOME
  7.                         Enderecos(j) = Enderecos(j) & rs!TBREP_ENDER
  8.                         Bairros(j) = Bairros(j) & rs!TBREP_BAIRRO
  9.                         Cidades(j) = Cidades(j) & rs!TBCID_CIDADE & " / " & TBREP_UF
  10.                         Ceps(j) = Ceps(j) & rs!TBREP_CEP
  11.                         rs.MoveNext
  12.                     End If
  13.                 Next
  14.             End If
  15.         Next
  16.     Wend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement