FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TXBrowse Bug
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
TXBrowse Bug
Posted: Mon Jan 07, 2008 08: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
TXBrowse Bug
Posted: Mon Jan 07, 2008 01: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 711
Joined: Thu Oct 06, 2005 09:57 PM
TXBrowse Bug
Posted: Tue Jan 08, 2008 05: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
TXBrowse Bug
Posted: Tue Jan 08, 2008 05:18 AM

SetADO method is already included in TXBrowse

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion