CopySort      Comments in English and Spanish

 Delphi 16 and 32

 26.12.96

 Author
    (c) Jose Maria Gias    Zaragoza - Spain
    email  : j.m.gias@arrakis.es
    Freeware  - This is an example therefore are not admitted claims  neither is
                offer garantias of no class.

 In the Project is shown an example of as accomplishing some functions that in
 dBase they were very simple and customary, but that in Delphi have been
 complicated and it that it is worse, they are scarcely documented.

 # Borland. But is that never learn .............. #

 With the project of demo that is attached, they can be accomplished the following
 functions:

 - CopyTablefull(. .) Uses the function of the BDE dbiCopyTable() , that it
                      makes a copy integrates of table though it be filtered

   - To copy or to duplicate tables complete with its Indices

 - SortTable(. .) uses components Ttable and BatchMove

   - To order tables

 - CopySort(. .) Uses components Ttable and BatchMove

   - To copy or to duplicate tables complete without Indices.
     ( Eye. if we copy on the same Alias we will eliminate the references from
       the Indices)

   - To copy data to other in a way ordered table

   - To export data ordered by an Index to dBase, Paradox, or ASCII .Txt
     ( Eye. If is exported in ASCII format, the Memo fields are not sustained
        and will give a mistake)

 All the Mail with commentaries and alterations to the example will be extremely
 thanked and resulted in benefit of the developers community of Delphi.

 The encapsulation these functions and other of similar characteristic in
 components would be an interesting labor. I invite you to continue the work.

 The author thanked the one which sends your examples of applications
 to exchange development and knowledge experiences.

#################################3
 Castellano

 Delphi 16 y 32

 26.12.96

 Autor
    (c)J.M.Gas    Zaragoza - Espaa
    email  : j.m.gias@arrakis.es
    Freeware  - Esto es un ejemplo por lo que no se admiten reclamaciones ni se
                ofrece garantias de ninguna clase.

 En el Project se muestra un ejemplo de como realizar algunas funciones que en
 dBase eran muy sencillas y habituales, pero que en Delphi se han complicado y
 lo que es peor, estn escsamente documentadas.

 # Borland. Pero es que nunca aprenderas.............. #

 Con el proyecto de demo que se adjunta, se pueden realizar las siguientes
 funciones:

 - CopyTablefull(..) Utiliza la funcion del BDE dbiCopyTable() que hace una
                     copia integra de la tabla aunque est filtrada

    - Copiar o duplicar tablas completas con sus Indices

 - SortTable(..) Utiliza componentes Ttable y BatchMove

   - Ordenar tablas

 - CopySort(..) Utiliza componentes Ttable y BatchMove

    - Copiar o duplicar tablas completas sin Indices.

    - Copiar datos a otra tabla de forma ordenada

    - Exportar datos ordenados por un Indice a dBase, Paradox, o ASCII .Txt
      (Ojo. Si se exporta en formato ASCII, los campos Memo no son soportados
       y dar un error)

 Todos los Mail con comentarios y correcciones al ejemplo sern sumamente
 agradecidos y redundarn en beneficio de la comunidad de desarrolladores de Delphi.

 El encapsular estas funciones y otras de similares caractersticas en componentes
 sera una labor interesante. Os invito a continuar el trabajo.

 El autor agradecera el que envieis vuestros ejemplos de aplicaciones
 para intercambiar experiencias de desarrollo y conocimientos.

