>Note: I'm use a traslator
>
>
>I am constructing classes on ADO and like me to know to me if is possible to emulate (oField.Attributes AND adFlong)=adFlong in VB or IF adFlong IN oField.Attributes in Delphi. A solution is to guess each position of each bit and to use BitTest (like say "ADO Jumpstart FOR Vfp Developers), but is more util to find any programmable way to find out this. Somebody knows like obtaining it in VFP?
>
You can declare values using #DEFINE in VFP. If you need to know what the values are, they're outlined in
VBSCRIPT Programmer's Reference from WROX Press if you can't find them elsewhere, like in the ADO or VB docs.
>*-- Original
>Estoy construyendo unas clases sobre ADO y me gustaria saber si es posible emular IF (oField.Attributes AND adFlong)=adFlong en VB o IF adFlong IN oField.Attributes en Delphi. Una solución es adivinar cada posicion de cada bit y utilizar BitTest (como sugiere "ADO Jumpstart FOR Vfp Developers), pero seria muy util encontrar una forma programable para averiguar esto. Alguien sabe como lograrlo en VFP?