|
Rajesh,
It will be desirable not to have the calculated field
for accounting period in the table itself. It can be generated through a
query, directly from the values held by FirstDate & LastDate fields.
Sample query is given below. AcPeriod represents
accounting period. T_Accounts is the assumed name of table.
Best wishes,
A.D.Tejpal
Sample query for getting accounting period
(Based upon Financial Year - April to March)
==================================
SELECT T_Accounts.*,
Year([FirstDate])-IIf(Month([FirstDate])<=3,1,0) & "-" &
Right(Year([LastDate])+IIf(Month([LastDate])>3,1,0),2) AS AcPeriod
FROM T_Accounts; ==================================
Please zip all files prior to uploading to Files section.
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [AccessDevelopers] Re: row number for query result + Limi... A.D.Tejpal
- [AccessDevelopers] Re: row number for query result + Lim... Jeanie S
- Re: [AccessDevelopers] Re: row number for query resu... A.D.Tejpal
- Re: [AccessDevelopers] Re: row number for query ... RAJESH DESAI
- Re: [AccessDevelopers] Re: row number for qu... A.D.Tejpal
