Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
All I need is a simple date (bg)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00516464
Message ID:
00516966
Vues:
15
>Bill,
>
>>Just curious... If the flag is set, are you issuing a TTOD()?
>
>Actually, it's a two-step dance. Since I still want to bind the value to the control, I have to check the flag, and if it's set to true, store the control souce in a new property on the control. Then I remove the control source and set the value to the TTOD(This.cControlSource). Whenever the control loses focus, I have to do the dance again to update the date/time value. (Guest it was a three-set dance :)


That's what I thought you might be doing, just wondered if you'd come up with a better idea.

>>I wish there was an InputMask or Format for this! Or, allow us to CursorSetProp the datatype like we can in views
>>(I guess I'll add that to the VFP 8 list!)
>
>Ditto! Kinda lame that you can't set column-level properties via SQL pass-thru, but you can through remove views.

Kinda, but maybe it's harder than I think it is. I was sure frustrated when I found I couldn't do it! They'd probably have to copy the cursor to another one, like I do when I use the ttod() function.
Bill Armbrecht
VFP MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform