Cut off the word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Control Source of the textbox in form I have =Format([txtweekday];"dddd").
Return, for example, Sunday word.
Is possible to cut off the Sunday word to Sun?

Thanks in advance.
an
 
Change "dddd" to "ddd".
Did you copy and paste correctly? You need to have a comma char to seperate
the two arguments passed to the Format method.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
SL,
Thanks for your solution.
Work fine.
My paste is correct and work fine too...(?)

an

Stephen Lebans said:
Change "dddd" to "ddd".
Did you copy and paste correctly? You need to have a comma char to seperate
the two arguments passed to the Format method.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


an said:
In Control Source of the textbox in form I have
=Format([txtweekday];"dddd").
Return, for example, Sunday word.
Is possible to cut off the Sunday word to Sun?

Thanks in advance.
an
 
an said:
SL,
Thanks for your solution.
Work fine.
My paste is correct and work fine too...(?)

The list separator -- "," vs. ";" -- is a regional setting, I think.
 
Thanks Dirk
I need to get out of the country more often.
;-)

--

Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Ok!
Cross the Atlântic and comes until Portugal :-)
Certainly you will be well received.

an
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top