Ir para conteúdo
Fórum Script Brasil

João Evandro

Membros
  • Total de itens

    2
  • Registro em

  • Última visita

Sobre João Evandro

João Evandro's Achievements

0

Reputação

  1. Mas eu estou fazendo isso... É um sistema de gráficos... Coloquei o código abaixo para vocês verem... A cada 10 questões da pesquisa, ele recria a tabela com as porcentagens e continua da questão 11 em diante. Deu pra entender? Abraços. <% g = 0 i = 0 total_quest = rs2("total_quest") max_linha = 10 '\\\ MÁXIMO DE RESULTADOS POR TABELA quest_linhas = total_quest / max_linha '\\\ TOTAL DE LINHAS '\\\ LARGURA DAS BARRAS w = request.QueryString("w") If w = "" then w = 10 end if img_grupo = "graf_barra2.png" img_ano = "graf_barra1.png" while not i = 1 while not g = max_linha %> <td class="divisoria" valign="bottom"> <table width="84" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="divisoria_sup_linhas" width="42" height="200" align="center" valign="bottom"> <% response.write "<img src='" & img_grupo & "' height='" & grafico1_grupo & "' width='" & w & "'>" %> </td> <td class="divisoria_sup_linhas" width="42" height="200" align="center" valign="bottom"> <% response.write "<img src='" & img_ano & "' height='" & grafico1_ano & "' width='" & w & "'>" %> </td> </tr> <tr> <td width="42" height="19" align="center" class="divisoria_sup"><% response.write porc2_grupo %>%</td> <td width="42" height="19" align="center" class="divisoria_sup"><% response.write porc2_ano %>%</td> </tr> <tr> <td height="15" colspan="2" align="center" valign="top"><% response.write rs1("item") %></td> </tr> </table> </td> <% g = g + 1 rs1.movenext rs.movenext wend i = 1 wend %> </tr> </table>
  2. Boa tarde, Sou novo no fórum... Estou com um probleminha. Tenho uma tabela, com a coluna da esquerda fixa e a da direita, a cada registro do banco de dados, cria uma nova coluna. Até aí, simples. Mas eu gostaria que, a cada 10 registros, fossem criada uma nova tabela igual a 1ª, para mostrar do registro 11 a 20, 21 a 30 e assim por diante. TABELA 1: 1 a 10 TABELA 2: 11 a 20 TABELA 3: 21 a 30 ... Isso é possível? Tentei fazer um while not dentro de outro while not, mas não estou conseguindo. Um abraço, João Evandro
×
×
  • Criar Novo...