Date Format

  • Thread starter Thread starter dsc2bjn
  • Start date Start date
D

dsc2bjn

I wish to create a date which takes "Date()" and returns just the two digit
year portion converted to fiscal year starting in October.

I have tried several variations, but nothing seems to work.
 
Ok...that works using a query to set a value, but...

I tried using it to set the default value of a control and it just says
#error.
 
I had it as a text box formated as a date/time field and tried both setting
the default value in the form and directly within the table.

Yes to the equal (when it was on the form).

I changed it to a number, but it drops the leading 0.
 
I changed it to a number, but it drops the leading 0.
Numbers do not have leading zeros, only text.
 
True that...

I should have asked, how can I format the number to display as 08?

Or maybe I should just store the value as text, since I will only be using
the value to control which records to show on reports.
 
Recomend text then not need to format for display.
But format number this way --
Expr1: Format([YourNumberField], "00") for two digit leading zeros.
 
Thanks!!

I changed it over to a Text field, since I will only be using it to sort
documents by the fiscal year to which they were entered into the database.

Again, Thanks!!

KARL DEWEY said:
Recomend text then not need to format for display.
But format number this way --
Expr1: Format([YourNumberField], "00") for two digit leading zeros.
--
KARL DEWEY
Build a little - Test a little


dsc2bjn said:
True that...

I should have asked, how can I format the number to display as 08?

Or maybe I should just store the value as text, since I will only be using
the value to control which records to show on reports.
 

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

Similar Threads

Access 2 Digit year in Access Text Box 3
using part of date 3
fiscal year 6
between FY date caculation 2
Fiscal YTD Filter 7
Converting Date to Julian 4
End of Quarter Based on Fiscal Year 2
Fiscal Year date shenanigans 1

Back
Top