473,403 Members | 2,293 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,403 software developers and data experts.

Autonumber MAC Address

I need to know if the following is possible. I have a vague idea how
to get started on the first part of this but completely lost on teh
exception:

We need to create a database program that issues MAC addresses
sequentially (with one exception).
The database should accept the following information:

Product Type: (e.g. G4C, G4B, G4P, CCP, …)
Product Serial Number:
Requester Name:

If the serial number has already been given MAC addresses then the
previous serial #’s MAC addresses should be re-issued. If not then
new numbers should be generated. The number of MAC addresses
generated will be dependent on the product type. For example, a G4C
needs three MAC addresses and a G4B needs one address. MAC addresses
should start at 0040c0 000000 and be issued sequentially.

The only exception is the G4C which needs to be at addresses 0040c0
xx60xx, 0040c0 xx80xx and 0040c0 xx90xx for its three interfaces
respectively. This gives 65536 unique addresses which is more than
enough. So the three addresses for the first G4C should be 0040c0
006000, 0040c0008000, and 0040c0 009000.

Is this possible using a combination of code and autonumber?

thanks,
KO

Jun 27 '08 #1
1 1712
turtle <ko****@vistacontrols.comwrote:
>I need to know if the following is possible. I have a vague idea how
to get started on the first part of this but completely lost on teh
exception:
The following links should get you started.

How To Implement Multi-user Custom Counters in DAO 3.5
http://support.microsoft.com/default...b;en-us;191253
How To Implement Multiuser Custom Counters in Jet 4.0 and ADO 2.1
http://support.microsoft.com/default...b;en-us;240317

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Tom | last post by:
Hi, I am always confused about what to use as the key for a table. Let's say I have a company-employee table. ---* My co-worker likes to use an AutoNumber or Counter as the key for the ...
35
by: Traci | last post by:
If I have a table with an autonumber primary key and 100 records and I delete the last 50 records, the next record added would have a primary key of 101. Is there any way to have the primary key...
16
by: John Baker | last post by:
Hi: I know this is a strange question, but I have inherited a system where files are copied and records re auto numbered (as an index field) )frequently, and I am wondering how high the number...
26
by: jimfortune | last post by:
Sometimes I use Autonumber fields for ID fields. Furthermore, sometimes I use those same fields in orderdetail type tables. So it's important in that case that once an autonumber key value is...
4
by: Apple | last post by:
1. I want to create an autonumber, my requirement is : 2005/0001 (Year/autonumber), which year & autonumber no. both can auto run. 2. I had create a query by making relation to a table & query,...
10
by: COHENMARVIN | last post by:
Is there any way using a 'datareader' to find out the autonumber field value of a record that I've just inserted? Thanks, -- cohenmarvin
4
by: Nitin | last post by:
I have a field in a DataTable with its AutoIncrementSeed = 1 and and AutoIncrement='True' when I remove all the rows from the Table how can I reset the Autonumber field's seed to 1 so that it...
9
by: Gogo | last post by:
Database has record 59 showing, tabing to enter data returns autonumber to 134. What happened to cause this, how would I fix it?
2
by: ielamrani | last post by:
Hi, I have a subform (subform1) with several records. Each record in subform1 has a button next it. When I click on the button it show another form (form2) that contains the clients info. it...
6
by: ashes | last post by:
Hi, I am creating an ecommerce website using Microsoft Visual Studio, VB.Net and MS Access 2003. I am new to VB.Net When someone wants to register on the website, they fill out a form and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.