Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Deleting Records
Piet 

12 years ago
I have the following problem to my database, please help me

1. I have a database/form my problem is that every time users open database they accidentally delete the existing records of a customers I tried to lock field and when I add new records is locked, how to lock out editing a field on a form after update or first entry
2. I have an Identity document of a customer with 13 digit as follows: first 6 digit stand for date of birth like 550101 this person born 1955.01.01 and second 4 digit stand for gender registration e.g. if Male digit stand between 5-9 like 5309 and if is Female digit will start between 0-4 like 0309 and the last 3 digit is the country code
How to do input mask or Validation rule to able to identify Identity document of a customer as to avoid writing wrong date of birth and registering wrong gender
The First 6 digit represent Date of birth
The Second 4 digit represent Gender
The Third 3 digit represent country code

Please assist
From Piet



Reply from Richard Rost:

1. Set ALLOW DELETIONS to False and give them their own data entry form.

2. I would set up separate fields for each of these (a DOB field, a gender field, etc.) and then use STRING CONCATENATION to assemble your custom value as a CALCULATED QUERY STRING.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/15/2026 9:09:09 AM. PLT: 0s