?
Solved

Convert Weekday (String) Number to Weekday Name

Posted on 2003-02-25
4
Medium Priority
?
1,556 Views
Last Modified: 2007-12-19
I am creating a report from a FoxPro 2.6 DB.  The Weekday is a single number (string).

How do I return the Name of the Day in place of the numerical value?

I've tried arrays/conversions etc to no luck.

0
Comment
Question by:NSH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
atevans77 earned 100 total points
ID: 8020908
Try this
Format(Weekday,"dddd")
0
 

Assisted Solution

by:hessmac
hessmac earned 100 total points
ID: 8021867
Or...

Format(Weekday(Now), "dddd")
0
 
LVL 5

Expert Comment

by:Tom Knowlton
ID: 9460109
NSH:

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area to do the following:


Split points between atevans77 http:#8020908 and hessmac http:#8021867


Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

knowlton
EE Cleanup Volunteer
0
 

Expert Comment

by:YensidMod
ID: 9939126
Forced Accept

Yensidmod
EE Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question