Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CA Date Field returns VARTYPE of DateTime
Message
De
28/01/2023 06:06:45
 
 
À
26/01/2023 01:38:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01685899
Message ID:
01685997
Vues:
34
Hi Lutz,

Yes, I have traced all my objects to their classes and class locations.

Regards,


>Hi Dennis
>>So far, I have no problems naming fields, vars like a built-in function.
>
>This happens in some odd moments and you will lost nerves figuring it out. Because of that, the general tip.
>
>>> #2 GetCursorObject and GetFieldValue are not VFP native, this looks like some framework. So it's somewhere in the code of this framework. Even the whole idea to
>>> handle data through objects looks strange from a VFP POV.
>>
>>You are right. Those methods are part of my framework. It simply loops thru the collection of Cursors and returns an object reference of the CA with the specified Alias, which I have been doing for the longest time. I just wonder why the field value returned was DateTime instead of Date. Both Cursorschema property and the actual MySQL table are dates.
>
>Have you checked the actual CursorSchema? Possibly some inheritance or oddly referenced class, so that you catch something you don't expect? Sometimes a class is gathered from an unexpected folder. Just like this. Single step through opening the cursor. Check THIS.CLASS and THIS.CLASSLIB while doing so.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform