Search found 28 matches

by wpacheco
Sun Jan 07, 2007 1:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Generic function to show an array and select one item
Replies: 0
Views: 604

Generic function to show an array and select one item

Hi guys In the FW spanish forum I left a generic function to show an array and return the item number optionally Although other similar functions have been published, this one allows: 1. To show the full either partial array 2. To show the columns ordered by user criterion 3. Set columns header, siz...
by wpacheco
Sat Jan 06, 2007 5:13 pm
Forum: FiveWin para CA-Clipper
Topic: Determinar header donde se ha hecho clic en un TWBrowse
Replies: 3
Views: 1072

Gracias Antonio Con tu ayuda, y revisando nuevamente los metodos de la clase TWbrowse de Hernan finalmente di con lo que queria. Aprovecho la oportunidad de dejar el codigo de una funcion generica que permite la visualizacion de un arreglo en un TWBrowse y opcionalmente devolver el numero del elemen...
by wpacheco
Fri Jan 05, 2007 6:52 pm
Forum: FiveWin para CA-Clipper
Topic: Determinar header donde se ha hecho clic en un TWBrowse
Replies: 3
Views: 1072

Determinar header donde se ha hecho clic en un TWBrowse

Saludos amigos Visto que a un TWBrowse se le pueden asociar "actions" a los header de cada columna me pregunto como es posible saber en cual header (columna) se ha hecho clic Entiendo que si cada bloque de codigo asociado al action de la columna tiene una funcion al estilo MsgInfo(x), dond...
by wpacheco
Fri Nov 17, 2006 10:11 pm
Forum: FiveWin for CA-Clipper
Topic: Problema con foco
Replies: 0
Views: 945

Problema con foco

Estimados amigos Tengo un conjunto de get's en un dialogo y un browse. Se me está presentando un problema curioso que es el siguiente: El browse tiene un evento asociado al bloque bKeyDown el cual permite o no la seleccion de filas de acuerdo a un criterio pre-establecido. Si el usuario no puede sel...
by wpacheco
Thu Sep 07, 2006 12:55 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Campos en TDatabase
Replies: 4
Views: 1098

Muchas gracias
Voy a chequear
by wpacheco
Wed Sep 06, 2006 6:55 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Campos en TDatabase
Replies: 4
Views: 1098

Campos en TDatabase

Saludos amigos

En TDatabase es posible leer campos de esta manera

Code: Select all

use cDbf
database oDbf
Msginfo( oDbf:Campox )
he revisado la clase pero no identifico la manera en como se crea este metodo. Podrian darme una mano con esto?

Gracias anticipadas

Williams Pacheco
by wpacheco
Thu Aug 31, 2006 9:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question
Replies: 0
Views: 557

ADO question

Hi guys Usually in PHP when I need to insert a record in an SQL table I check first the primary key value to avoid to get an error for duplicate key entry. I'm uploading a .dbf file to a SQL table. The .dbf has values there exist in the SQL table. I'm using the AddNew() and Update() Method but on ha...
by wpacheco
Sat Aug 12, 2006 11:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Recordset Methods
Replies: 2
Views: 830

Thanks Enrico
by wpacheco
Fri Aug 11, 2006 10:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Recordset Methods
Replies: 2
Views: 830

ADO Recordset Methods

Hi guys

Where I can find more information about ADO Recordset methods and properties like RecordCount(), fields etc

Thanks
by wpacheco
Wed Aug 09, 2006 9:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

No I haven't.
I will check

Thanks
by wpacheco
Wed Aug 09, 2006 5:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

James I'm completely agree with you: the SQL databases programming and DBF databases programming are very different. My experience in this area comes from the business application programming for the internet using PHP, Javascript and MySQL. First thing it is necessary to take in mind is though the ...
by wpacheco
Tue Aug 08, 2006 7:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

James Let me explain in my case what buffer refresh means Usually I open the database object and load values to show it in the dialog. When the user make changes to these values in an edit task, I need to post validate the data so I seek the field value but the seek method "refresh" the bu...
by wpacheco
Tue Aug 08, 2006 4:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

James I have just stopped reading OOP's articles in your page, both are very interesting and explained. The database class I use is the one that comes with FW and till now it has served me in everything what I have needed, except a couple of methods that I have created like "Locate" and th...
by wpacheco
Tue Aug 08, 2006 11:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

Thanks for your response Really I had not thought of doing subclasses, because my short experience with it, but I think that it is the best solution. On the other hand as Badara says, I like to have the code in an single prg to be able to do changes in sets, I think that joining both ideas will be g...
by wpacheco
Mon Aug 07, 2006 9:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dual system
Replies: 15
Views: 5472

Dual system

Dear friends: I have been worked at the development of a dual system with DBF/CDX and SQL databases (MySQL and SQL SERVER). First question I did was the connection to SQL with Jose Luis Capel TAdo class with no problem... second question was (and it continues being) the managing of the ADO record se...