Re: Self-generating Number
- From: Lord Kelvan <the_iddiot@xxxxxxxxxxx>
- Date: Tue, 21 Oct 2008 19:06:09 -0700 (PDT)
the only way i can think of is using a form
and for the field that is that value you would use this setup
serialvaluetextbox.Value = Format(Date, "yy") & "-" &
Format(CInt(Right(DLast("[serialvalue]", "serialvaluetable"), 4) + 1),
"0000")
the people in the formscoding group may be able to help you implement
the above
i dont know how to set the autonumber format property to fo the above
someone else may know but as far as i know you cannot combine
datatypes ie date and int
hope this helps
Regards
Kelvan
.
- References:
- Self-generating Number
- From: trafalgar1978@xxxxxxxxx
- Re: Self-generating Number
- From: Lord Kelvan
- Re: Self-generating Number
- From: trafalgar1978@xxxxxxxxx
- Self-generating Number
- Prev by Date: Re: Self-generating Number
- Next by Date: Re: Big format problem when exporting a query to excel
- Previous by thread: Re: Self-generating Number
- Next by thread: Re: Self-generating Number
- Index(es):
Relevant Pages
|