https://youtu.be/WRrRpIGLwk8
Bom Dia/Boa Tarde/Boa Noite
Esse Ao Vivo vai estrear as 10:00 do dia 19/08/2020 QUARTA
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
Tutoriel WINDEV : Leçon 3.3.d. Projet et analyse - Importation CSV
https://windevdesenvolvimento.blogspot.com/2020/08/dicas-3000-windev-tutorial-23-projeto-e.html
ASSUNTOS
1. CRIANDO UM ARQUIVO TEXTO
2. NESSE ARQUIVO TEXTO CVS, CRIAR OS CAMPOS , E VALORES
3. IMPORTAR O ARQUIVO TEXTO E GERAR A ANALISE
https://doc.pcsoft.fr/fr-FR/?1410087521&name=lecon_33_projet_analyse
Video original da Franca
https://youtu.be/UVsWtUYpDAw
Playlist Windev TUTORIAL
https://www.youtube.com/playlist?list=PLwJwZaqiZW-lxU1XF0M0htb5S5f8pavuE
Importing a CSV file
A different method will be used to create the "PaymentMode" data file, which contains the payment characteristics: importing a CSV file.
From the CSV file containing the data, WINDEV will create:
Remark
| A CSV file is a text file that uses a specific format. This file contains data on each line. The data is separated by a separation character (a comma, a semi-colon or a tabulation). |
- the description of data file in the analysis,
- the HFSQL data file with the data found in the CSV file.
- To import a CSV file into the analysis:
- In the ribbon, on the "Analysis" pane, in the "Creation" group, expand "Import" and select "Import file/table descriptions".Tip
To import a CSV file (or any other file) into the analysis, you also have the ability to Drag and Drop the CSV file (from the Windows explorer) to the data model editor. This will be presented in the next paragraph. - The file import wizard starts.
- Go to the next step.
- Select the format of files to import. In this case, select "Text file".
- Specify the path of file to import: "\Tutorial\WD\Exercises\WD My First Database\PaymentMode.csv" in the WINDEV setup directory.
- Go to the next step of the wizard.
- Specify the following import parameters:
- The records are delimited by: "<Carriage Return/Line Feed>".
- The columns are delimited by: "<Semicolon>".
- The strings are delimited by: "<None>".
- Decimal separator: "<Automatic: dot or comma>"
- Don't forget to check "The first row contains the names of columns".
- Go to the next step.
- The structure of data file that will be created is displayed.
- The content of CSV file will be automatically converted to HFSQL format. The wizard proposes to create the HFSQL file in the project directory.
- Validate the wizard. WINDEV creates the data file.
- In the ribbon, on the "Analysis" pane, in the "Creation" group, expand "Import" and select "Import file/table descriptions".
- Let's study the description of the imported data file:
- Select the "PaymentMode" data file.
- In the popup menu (right mouse click), select "Description of data file".
- Change the data file caption in the window that opens up: delete "(Imported)".
- Click the icon to display the description of the data file items.
- This data file contains no automatic identifier and no unique key. We are going to switch the "Code" item to unique key:
- Position the selection bar on the code item if necessary.
- In the right section of screen, click "Unique key".
- We get the following data:
- Validate the item description window and the data file description window.
DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
Nenhum comentário:
Postar um comentário