Desenvolvimento segmentado com wdl e como usar o query & reports do WINDEV - ADRIANO BOLLER
1 – Criar o RAD Patern
Criar o sty arquivos estilo = 100% (C:\WINDEV 24\Personal\SkinTemplates\WD)
Criar os templates control + CODIGO CHAMADA sem existir a procedure
Criar a janela Template e colocamos a gsAcao como global
Criar as Querys e Janelas --- compila o rad e cola em:
C:\WINDEV 24\Personal\Models\RAD\WD\Patterns\rad_exemplo.patern
2 – criar o Menu + ANALYSIS (DESIGN DAS TABELAS) = .EXE (TELA MENU)
3 – criar os módulos .WDL (CONTABIL, FINANCEIRO, PCP...)
4 – gerar os relatórios no Report & Querys e chamar pelo menu (EXE – OBRIGATORIO TE NA ANALYSIS AS TABELAS)
-------------------------------------------------
Segmented development with wdl and how to use WINDEV query & reports - ADRIANO BOLLER
1 - Create the RAD Patern
Create the sty style files = 100% (C: \ WINDEV 24 \ Personal \ SkinTemplates \ WD)
Create the templates control + CODE CALL without the procedure
Create the Template window and put gsAction as global
Create the Querys and Windows --- compile the rad and glue in:
C: \ WINDEV 24 \ Personal \ Models \ RAD \ WD \ Patterns \ rad_example.patern
2 - Create the Menu + ANALYSIS = .EXE (MENU SCREEN)
3 - create the .WDL modules (ACCOUNT, FINANCIAL, PCP ...)
4 - generate the reports in the Report & Querys and call through the menu (EXE - REQUIRED TE IN ANALYSIS AS TABLES)
----------------------
PROCEDURE WDLCALL(WDL_Modulo,JANELA,paramentro)
OK is boolean
IF WDL_Modulo = "Contabilidade"
OK = LoadWDL("C:\My Projects\EXEMPLO_WDL\PROJETO_MENU\Menu\Contabilidade.wdl")
ELSE IF WDL_Modulo = "Financeiro"
OK = LoadWDL("C:\My Projects\EXEMPLO_WDL\PROJETO_MENU\Menu\Financeiro.wdl")
ELSE IF WDL_Modulo = "Cadastros"
OK = LoadWDL("C:\My Projects\EXEMPLO_WDL\PROJETO_MENU\Menu\CADASTROS.wdl")
END
IF OK = True THEN
IF WinStatus(JANELA) = NotFound THEN
IF Length(paramentro) > 0
Open(JANELA,paramentro)
ELSE
Open(JANELA)
END
ELSE
SetFocus(JANELA)
END
ELSE
Info("Modulo indisponivel: "+JANELA)
END