Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Num to str
Message
From
24/09/2007 06:53:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/09/2007 02:01:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01256184
Message ID:
01256203
Views:
11
>Dear Experts
>
>Table1 has following THREE fields as
>
>nmonth n(2)
>nyear n(4)
>cmonth c(8)
>
>and data is as
>
>nmonth---nyear----cmonth
>--8------2006-----
>--11-----2007-----
>--5------2006-----
>
>I want to fill column3 as
>Aug-2006
>Nov-2007
>May-2006
>
>
>Please help
replace all cMonth with left(cMonth(date(nYear, nMonth, 1)),3) + '-' + padl(nYear,4)
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
Previous
Reply
Map
View

Click here to load this message in the networking platform