Page 2 of 2

Posted: Mon Jan 07, 2008 8:39 am
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

Posted: Mon Jan 07, 2008 1:28 pm
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

Posted: Tue Jan 08, 2008 5:17 am
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

Posted: Tue Jan 08, 2008 5:18 am
by nageswaragunupudi
SetADO method is already included in TXBrowse