Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
[foxbrasil] ConversionFunc Property (CursorAdapter)
Message
De
21/10/2003 13:42:56
 
 
À
16/10/2003 09:09:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00839215
Message ID:
00840748
Vues:
24
>I'd like to use a UDF in this property to convert an empty value of a date type into null value.
>
>Thought VFP help says "use ConversionFunc to specify native Visual FoxPro or CUSTOM conversion functions...", it is not working with a simple function like this:
>
>Function ChangeNull(tdData)
> If tdData = {}
> Return null
> Else
> Return tdDAta
> EndIf
>EndFunc
>
>
>I set the CA property like this:
>
>.ConversionFunc = "date_field ChangeNull"
>
>
>"set procedure" is ok too...
>
>
>What's wrong? Shouldn't it work?

Hi Juliano,

How did you set other CursorAdapter properties?

Thanks,
Aleksey.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform