TXBrowse Bug

Postby James Bott » Mon Jan 07, 2008 8:39 am

>I suggest not to assign alias, so that this method can serve any Data Class, whether the underlying data source is RDD or not.

>For example, i use classes for arrays, text (sdf), ado ( wrapper class for recordset) and any other heterogenous data.

I also have classes for arrays and recordsets. I have no problem not assigning cAlias as long as TXBrowse does not need it. I included it because some of the other browses require it.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby James Bott » Mon Jan 07, 2008 1:28 pm

NageswaraRao,

I'm not sure about your suggestion to use DEFAULT. In my experience, this is always used to define passed parameters and in this case none of these codeblocks is being passed. Also, I would be concerned that either currently, or in the future some or all of these codeblocks may have already been assigned by other methods of the TWBroiwse class. This could have undesirable effects.

I note also that neither TCBrowse nor TSBrowse are using DEFAULT.

My suggestion would be to not use DEFAULT.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Manuel Valdenebro » Tue Jan 08, 2008 5:17 am

nageswaragunupudi wrote:i use classes for arrays, text (sdf), ado ( wrapper class for recordset) and any other heterogenous data.


Nageswara,

Can you insert here your SetADO method?

Thanks
Un saludo

Manuel
User avatar
Manuel Valdenebro
 
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España

Postby nageswaragunupudi » Tue Jan 08, 2008 5:18 am

SetADO method is already included in TXBrowse
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests