Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two formatting questions 1

Status
Not open for further replies.

cranebill

IS-IT--Management
Jan 4, 2002
1,113
US
I have a timestamp in a field that I would like to just show the daye in a query, in Oracle I would use Trunc(date)... what would be the correct function for access to do the same?

Format question # 2

In Oracle I could use a decode in the select portion of a query to change the way a result looks...

for example if a field showed 0 then the query would show "No". Is there a function that I could use with this?
 
Have a look at the Format function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Format worked for the date...

any ideas about the second question?
 
Format([your field],"Yes/No")

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top