Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > List Box Move Item 3 < List Box Move Item 2 | Initial Sort Order >
Back to List Box Move Item 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email  
insert an item in between
Ludwig Willems 
      
18 months ago
Hi Richard
What if I want to insert an item in between in the list of the table, in other words, for example, I want an item between record 3 and 4. The new item then becomes 4 and the next items have to move the number up. Is this possible. The records that follow are all increased. This could happen with my database. They are groups of certain modules that must stay together.
Sami Shamma  @Reply  
             
18 months ago
Are you talking about AutoNumbers?  
If so the answer is no. But that is not what AutoNumbers are for.
Use your own sort field if you need to keep records together.
Initial Sort Order
Ludwig Willems OP  @Reply  
      
18 months ago
no, no AutoNumbers, but own numbers, but sometimes a record would have to be inserted and then the own numbering would have to be moved.
Adam Schwanz  @Reply  
            
18 months ago
If you are assigning your own numbers, you would need to update all the records that are greater than that. You could use a recordset to do that. Just go through all the records and do rs!YourNumber = rs!YourNumber+1 for instance
Sami Shamma  @Reply  
             
18 months ago
Ludwig

Adam advice is excellent. Going forward you can do the following:
1) update all the numbers by multiplying them by 10 or 100 so 1,2,3,4 will become 10,20,30, 40 etc.
2) now you can easily insert numbers in between. So after 20 you can insert 22

This thread is now CLOSED. If you wish to comment, start a NEW discussion in List Box Move Item 3.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/14/2025 5:04:03 PM. PLT: 1s