Código fonte Wiki de Carregar formulário selecionando linhas em uma consulta
Mostrar últimos autores
| author | version | line-number | content |
|---|---|---|---|
| 1 | ((( | ||
| 2 | {{html clean="false"}} | ||
| 3 | <iframe width="730" height="410" src="https://www.youtube.com/embed/IJ3_ddYQexE?si=T_ABy7o9JUflVNvU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | ||
| 4 | {{/html}} | ||
| 5 | ))) | ||
| 6 | |||
| 7 | === Comando utilizado no retorno da navegação === | ||
| 8 | |||
| 9 | ==== POSTGRES ==== | ||
| 10 | ((( | ||
| 11 | {{code language="SQL" layout="LINENUMBERS" }} | ||
| 12 | FOR rlin IN (SELECT e.COD_CIDADE | ||
| 13 | , e.DES_CIDADE | ||
| 14 | FROM ADM_CIDADE e | ||
| 15 | WHERE e.cod_uf = 'RS') LOOP | ||
| 16 | |||
| 17 | wfl_form_add_prc(in_seq_execucao => {SEQ_EXECUCAO}, in_form => 'FORM_CIDADES'); | ||
| 18 | |||
| 19 | wfl_form_set_vlr_prc(in_seq_execucao => {SEQ_EXECUCAO} | ||
| 20 | ,in_form => 'FORM_CIDADES' | ||
| 21 | ,in_campo => 'COD_CIDADE' | ||
| 22 | ,in_valor => rlin.cod_cidade); | ||
| 23 | |||
| 24 | wfl_form_set_txt_prc(in_seq_execucao => {SEQ_EXECUCAO} | ||
| 25 | ,in_form => 'FORM_CIDADES' | ||
| 26 | ,in_campo => 'DES_CIDADE' | ||
| 27 | ,in_valor => rlin.des_cidade); | ||
| 28 | |||
| 29 | END LOOP; | ||
| 30 | {{/code}} | ||
| 31 | ))) |