473,385 Members | 1,409 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,385 software developers and data experts.

set number to increase for each record without duplicates

i want to number , this number increase to each record , no duplicate number. i want to making by access VBA code.
Mar 24 '13 #1
1 1167
zmbd
5,501 Expert Mod 4TB
There are many examples of this here on bytes.
The basic concept is to find the maximum value of field, you can do this any number of ways, the most straight forward is using the DMAX().
From there you increment your returned value, open your record-set and so forth.

Please keep in mind, Bytes is not a code nor homework service.
If you will post the VBA code you currently have along with any errors we can help you solve them or correct your code once the basic troubleshooting has been done.
Mar 24 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Rajesh Sharma | last post by:
We are trying to develop a GUI wherein details of all the bugs in a system are captured. along with these details, the screenshot of the screen having the bug is also to be captured for the IT...
2
by: a.p.mews | last post by:
Hi I'm trying to build a database to hold a CD collection inputting to a Form. I enter the CD number - no problem there, but would then like to enter a track number AND increase that number...
9
by: MLH | last post by:
I have a source query (qryITSLetterList) feeding rows containing name, addr, city, state, zip and VehicleID to a report (rptITSnotices). The query may contain 1-to-5 records resulting in 1-to-5...
3
by: NV | last post by:
I've a table called GReg with the fields GNumber, ControlNumber, ArticleCode, ProdNumber and Date. In a form I select the ArticleCode from one combo box, and I define the number of records to...
0
by: Marcelo | last post by:
Hi, I have the following need: I list a table from an access database but cannot interact with each record. At the html page I display all records, one field (field1) from and 3 buttons for each...
4
by: General Fear | last post by:
I would like assign a number to each row in the table. The number can be row number. For example, the first record in the table can be number 1. I can do this thru VBA code. Can I do this via...
1
by: vbDavidC | last post by:
I am adding a new record to a table via a dataset/adapter. I have got the following to work for me but I am wondering if there is a better way to do this. I am having to have something in my...
3
by: bluez | last post by:
I want to design a webpage where user can search the data from the database and list out the related records. Each of the record got a delete button which allow user to delete the record. ...
3
by: kevinj | last post by:
Greetings, I am creating a "stoplight" type report that is based on the number of days between dates, the field will be highlighted in red, yellow, or green. I am able to change the background...
2
by: gpo | last post by:
I've got a table with duplicates, and I want to query the table without duplicates. my table :HOUSE column : Name col2 :DOA col3 : Postcode How is it done?
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...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.