Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting datetime to date
Message
De
18/12/1998 08:48:07
 
 
À
18/12/1998 04:29:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00168548
Message ID:
00168811
Vues:
33
>>if you use data-bound textbox then TTOD() should be in Textbox.ControlSource. If it's unbound then the place is Textbox.Refresh method: This.Value=TTOD(...
>
>Hi Edward,
>
>I tried this yesterday. Since I have a controlsource for this (which I'm presuming is what data-bound is all about) I put the "=ttod(table.field)" in the controlsource. I got the error message that states "the datasource for this object must be a variable reference."
>
>It may have to do with the fact that I had built this form with the wizard. I believe that makes it not a regular textbox but something called and embossedfield or something like that. Would that have something to do with it? I'll try deleting the field and making it a texbox today and see if that helps. Do you think that might work?
>
>Thanks for the help.

It works, just type to controlsource '0+ttod(table.field)'. It will make this trick.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform