Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format a field after opened a remote cursor
Message
 
À
23/12/2008 07:47:43
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01369305
Message ID:
01369324
Vues:
11
>>>>>>>Hi All,
>>>>>>>
>>>>>>>I want to change type or display format any field of cursor opened with sqlexec command. I want to do after open cursor. Is that possible?
>>>>>>
>>>>>>Sure, nothing impossible :-)
>>>>>>but what type of field, how do you want to display it, where you want to display it?
>>>>>
>>>>>I want to convert datetime fields to date. I can do that with cursoradapter and remote views but cannot do with sqlexec.
>>>>
>>>>You can't do that with SPT, but you have two choices:
>>>>1. Create your own TextBox class which will show that datetime field as date (only date portion of it).
>>>
>>>First one sounds me a better solution. Thank you...
>>>
>>
>>Metin, you risk losing a lot of time.
>>
>>VFP cannot do this with some ControlSource,Format setting and user readwrite interaction.
>
>Sorry, I couldn't understand.

Check this:
http://www.foxite.com/archives/formatting-textbox-as-date-by-datetime-0000097962.htm
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform