TXBrowse Bug

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

Post by James Bott »

>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: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
Manuel Valdenebro
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España

Post by Manuel Valdenebro »

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
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

SetADO method is already included in TXBrowse
Regards

G. N. Rao.
Hyderabad, India
Post Reply