EBD COMMUNITY
Bienvenido
ESPAÑOL
ENGLISH

Paquetes

CSV ImportVersión: 0.1 - eBD: 3.4
Quickly integration of data files to your system
Fecha:06/11/2009
Descargas: 137
   
0 votos
Autor
ScreenShots
Descripción larga

This widget let you to import data from a csv file (or plain text file delimited by a separator) helped by a wizard.

There are only tree configuration params:

    _ column_name: list of names separated by semicolons to load selects.

    -func: user's function name to perform inserts.

    -show_progress_bar: boolean to display or not the progress status


You need the 'load_file' datasource that contains the file to be imported on the widget.

There are also three events to control the wizard and to initialize and refresh the progress bar

To correctly use the widget should follow these tips:
   
    _ you must create a library called "ImportCSVUser" before running the widget, and create functions with insert statements (the names of these functions are what you put as 'func' parameter in the widget).

    - the user's functions receives a hash with each field-value to be inserted in the table that the user requires

    - the widget provides a graphical interface, but you can use only the functions of the "ImportCSVLib" library to import data directly from an event of a table or view

    - you should advice to your system administrator to uncheck the 'CheckSessionIp' parameter if you want to run the progress bar and make that 'upd_progress' works. Check eBD Administration Manual for more information.

    - to show errors in the log, the user's function must return the status of each sql statement made. review the database internal functions of ebdml manual for more information.
APORTA TU COMENTARIO !!!
Debe estar logado para aportar su valoración.
Otros comentarios
No se han registrado comentarios de este widget aún.