First of all I have been working with Access 97 and this morning the owner
of the business phoned me to inform me that he had updated to Access 2000
and parts of my forms would not work anymore.
On my form I have a field "Expiry Date".When I put the following into the
AfterUpdate field, it adds 183 days to the current date, and displays it in
the "Expiry Date" field.
Me.ExpDate = DateAdd("d", 183, Me.Date)
Then I have a "Lot Number" that only exists on the form. When the date is
entered it produces a whole number that comes up in the "Lot Number" field.
This is done by pasting the following formula in the in the "Control
Source" field on the Data Tab of the "Lot Number" field.
=Right(Year([Date]),1) & Right("000" & Format([Date],"y"),3)
What changes do I have to make to make the above Access 2000 compatible.
Any help would be appreciated.
Thank you,
--
William Bradley
Come visit us at:
Free Rosaries available at the above.
of the business phoned me to inform me that he had updated to Access 2000
and parts of my forms would not work anymore.
On my form I have a field "Expiry Date".When I put the following into the
AfterUpdate field, it adds 183 days to the current date, and displays it in
the "Expiry Date" field.
Me.ExpDate = DateAdd("d", 183, Me.Date)
Then I have a "Lot Number" that only exists on the form. When the date is
entered it produces a whole number that comes up in the "Lot Number" field.
This is done by pasting the following formula in the in the "Control
Source" field on the Data Tab of the "Lot Number" field.
=Right(Year([Date]),1) & Right("000" & Format([Date],"y"),3)
What changes do I have to make to make the above Access 2000 compatible.
Any help would be appreciated.
Thank you,
--
William Bradley
Come visit us at:
Free Rosaries available at the above.
Comment