By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,188 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,188 IT Pros & Developers. It's quick & easy.

Sequencial ordering

P: n/a
Hi there,

Bit of an Access newbie here in need of some help. First time in here so
please be gentle with me.

Here's what I'm trying to achieve. I want to build a database which
records the changes on a project with each project having it's own
unique code based on the year so for example:

05666
04555
03444

I've build the database itself and created an Excel front end form to
input the data to the database. What I would like to achieve is for each
project number to have it's own sequencial record number for example:

05666-1
05666-2
04555-1
04555-2
04555-3
03444-1
03444-2

you get the idea. How do I do this? It's really stumped me.

I can get Access to allocate a sequential number to each new entry but
not to each new entry for an individual project. Does the make sense?

Your thoughts and help would be greatly appreciated.

Just let me nkow if you need any more information.

Rich
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
OK, I'll try to be gentle.
But I'm baffled as to why you're using an Excel front end form for data
entry.
Access offers its own forms, which are made to integrate easily with its
tables.

What you're asking isn't hard to accomplish in Access, but it's not a
built-in capability.
It will require some VBA coding to achieve.
(You can code in VBA behind Excel, too, but it would be a bit different. If
that's what you want to do, you'll probably get better advice in an Excel
newsgroup.)

If you'd like to develop the entire application in Access, and are willing
to learn some VBA coding, please post back for details on how to do this.

HTH

"Richard Setford" <ri*****@rjsetford.plus.com> wrote in message
news:42**********************@ptn-nntp-reader04.plus.net...
Hi there,

Bit of an Access newbie here in need of some help. First time in here so
please be gentle with me.

Here's what I'm trying to achieve. I want to build a database which
records the changes on a project with each project having it's own
unique code based on the year so for example:

05666
04555
03444

I've build the database itself and created an Excel front end form to
input the data to the database. What I would like to achieve is for each
project number to have it's own sequencial record number for example:

05666-1
05666-2
04555-1
04555-2
04555-3
03444-1
03444-2

you get the idea. How do I do this? It's really stumped me.

I can get Access to allocate a sequential number to each new entry but
not to each new entry for an individual project. Does the make sense?

Your thoughts and help would be greatly appreciated.

Just let me nkow if you need any more information.

Rich

Nov 13 '05 #2

P: n/a
Hi There,

There are a number of reasons why I have to use Excel as the front end
the main one being that only a few people in my company have Access (IE
Office Pro) on their PC's, the rest have Office Std but I am open to
sugestions. I guess I could build a form in Access for the rest of the
world to use couldn't I (if push came to shove).

I'm keen to expand my limited knowledge of VBA so any advise you can
offer will be greatly recieved.

Thanks for replying,

Richard

MacDermott wrote:
OK, I'll try to be gentle.
But I'm baffled as to why you're using an Excel front end form for data
entry.
Access offers its own forms, which are made to integrate easily with its
tables.

What you're asking isn't hard to accomplish in Access, but it's not a
built-in capability.
It will require some VBA coding to achieve.
(You can code in VBA behind Excel, too, but it would be a bit different. If
that's what you want to do, you'll probably get better advice in an Excel
newsgroup.)

If you'd like to develop the entire application in Access, and are willing
to learn some VBA coding, please post back for details on how to do this.

HTH

"Richard Setford" <ri*****@rjsetford.plus.com> wrote in message
news:42**********************@ptn-nntp-reader04.plus.net...
Hi there,

Bit of an Access newbie here in need of some help. First time in here so
please be gentle with me.

Here's what I'm trying to achieve. I want to build a database which
records the changes on a project with each project having it's own
unique code based on the year so for example:

05666
04555
03444

I've build the database itself and created an Excel front end form to
input the data to the database. What I would like to achieve is for each
project number to have it's own sequencial record number for example:

05666-1
05666-2
04555-1
04555-2
04555-3
03444-1
03444-2

you get the idea. How do I do this? It's really stumped me.

I can get Access to allocate a sequential number to each new entry but
not to each new entry for an individual project. Does the make sense?

Your thoughts and help would be greatly appreciated.

Just let me nkow if you need any more information.

Rich


Nov 13 '05 #3

P: n/a
A single copy of the Office Developer's Edition (the name varies with the
version of Office) will give you the rights to distribute a run-time version
of Access to an unlimited number of machines. Using a run-time version,
users can use applications created with a full version of Access; they just
can't make design changes.
Is this an option your company might consider?

If I were designing this all in Access, I'd store the EntryID as 2 separate
fields - one for ProjectID and a separate one for the sequential EntryNo
field. You can still display the EntryID by concatenating these two parts.
Access (not Jet) has a handy DMax() funtion, which would make it easy to
find the greatest value in EntryNo for any given ProjectID; for a new
record, you could add 1 to this and save it to the EntryNo field. I think
Excel has some similar (but not identical) functionality in VLOOKUP, but
again, I'd send you to the Excel guys for details on this.

If you have multiple users (it sounds as if you do), remember to allow for
two or more users adding new records at the same time.

HTH

"Richard Setford" <ri*****@rjsetford.plus.com> wrote in message
news:42***********************@ptn-nntp-reader01.plus.net...
Hi There,

There are a number of reasons why I have to use Excel as the front end
the main one being that only a few people in my company have Access (IE
Office Pro) on their PC's, the rest have Office Std but I am open to
sugestions. I guess I could build a form in Access for the rest of the
world to use couldn't I (if push came to shove).

I'm keen to expand my limited knowledge of VBA so any advise you can
offer will be greatly recieved.

Thanks for replying,

Richard

MacDermott wrote:
OK, I'll try to be gentle.
But I'm baffled as to why you're using an Excel front end form for data
entry.
Access offers its own forms, which are made to integrate easily with its
tables.

What you're asking isn't hard to accomplish in Access, but it's not a
built-in capability.
It will require some VBA coding to achieve.
(You can code in VBA behind Excel, too, but it would be a bit different. If that's what you want to do, you'll probably get better advice in an Excel newsgroup.)

If you'd like to develop the entire application in Access, and are willing to learn some VBA coding, please post back for details on how to do this.
HTH

"Richard Setford" <ri*****@rjsetford.plus.com> wrote in message
news:42**********************@ptn-nntp-reader04.plus.net...
Hi there,

Bit of an Access newbie here in need of some help. First time in here so
please be gentle with me.

Here's what I'm trying to achieve. I want to build a database which
records the changes on a project with each project having it's own
unique code based on the year so for example:

05666
04555
03444

I've build the database itself and created an Excel front end form to
input the data to the database. What I would like to achieve is for each
project number to have it's own sequencial record number for example:

05666-1
05666-2
04555-1
04555-2
04555-3
03444-1
03444-2

you get the idea. How do I do this? It's really stumped me.

I can get Access to allocate a sequential number to each new entry but
not to each new entry for an individual project. Does the make sense?

Your thoughts and help would be greatly appreciated.

Just let me nkow if you need any more information.

Rich


Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.