473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Sequencial ordering

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
3 1399
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ken Fine | last post by:
(originally posted to one of macromedia's groups; no help, so hopefully someone here can help me out. I'm using VBScript ASP.) When designing administrative interfaces to websites, we often need...
6
by: Ken Fine | last post by:
(originally posted to one of macromedia's groups; no help, so hopefully someone here can help me out. I'm using VBScript ASP.) When designing administrative interfaces to websites, we often need...
33
by: Benjamin M. Stocks | last post by:
Hello all, I've heard differing opinions on this and would like a definitive answer on this once and for all. If I have an array of 4 1-byte values where index 0 is the least signficant byte of a...
14
by: Roy | last post by:
Is there an equivalent class function in C# to generate sequencial guid just like the NewSequentialID() function in SQL Server 2005?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.