Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format
Message
De
02/12/2000 11:06:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/12/2000 10:50:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00447894
Message ID:
00448498
Vues:
11
>Hi Dear,
>
>I want to use date format as
>01-DEC
>
>whereas i have set the date format to british but the short date format is needed just for one text box in Report and i don't want to chage overall date format.
>
>Nafees

Mohammed,
You could change the textbox's field expression. ie: say it's myDateField

padl(day(myDateField),2,'0')+'-'+upper(left(cmonth(myDateField),3))

For the second part you might need to call a UDF or array element to override localized lang.

dimension mycMonth[12]
mycMonth[1]='JAN'
...
mycMonth[1]='DEC'

*report expr
padl(day(myDateField),2,'0')+'-'+mycmonth[month(myDateField)]

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform