Don't do it that way. You would be introducing redundancy which leaves the
door open to update anomalies. Store the date/time value when each row is
inserted into the table by having a column, DateTimeEntered say, with its
Default Value property set to Now() in table design. Don't have a Request No
column in the table but compute it in a query or in a computed control in a
form whenever required with:
[Serial No] & "-" & Year([DateTimeEntered]
Even though you don't need the full date time value in the DateTimeEntered
for this I'd nevertheless use the Now() function as the default. You might
well find it will come in extremely useful in the future to have a set of
unique values which determines not only when but the order in which rows
where inserted, something for which an autonumber column cannot be fully
relied on. Users never need see the DateTimeEntered column, it will just
quietly get on with its job in the background.
Ken Sheridan
Stafford, England
short_sweet said:
In a table how do I get the values of one feild to show in another feild?
example:
feild 1 named: Request No
feild 2 named: Serial No
I need the value of Request No to be =Year(Now()) & "-" & the value of
Serial No