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

Editing field in form

I created a form that has a date field for a person that has violated
one our rules on a visit. This has their Name, address, Date of
Violation, type of violation and so on. When I first created this I did
not know that there could be multiple entries for the same person. Is
there a way to add to the date field and put a new date, and update the
violation per new violation? So if a person comes in violates the first
time he goes into the system. If he comes in again I would like to add
not update the persons ID by adding dates to a record and the new or
same violation. Any ideas would help. Thanks in advance.

Nov 13 '05 #1
2 1203
I'd have a table for the person and a one-to-many-related table for
violations, as a start.

Larry Linson
Microsoft Access MVP

"wizof103" <wi******@bellatlantic.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I created a form that has a date field for a person that has violated
one our rules on a visit. This has their Name, address, Date of
Violation, type of violation and so on. When I first created this I did
not know that there could be multiple entries for the same person. Is
there a way to add to the date field and put a new date, and update the
violation per new violation? So if a person comes in violates the first
time he goes into the system. If he comes in again I would like to add
not update the persons ID by adding dates to a record and the new or
same violation. Any ideas would help. Thanks in advance.

Nov 13 '05 #2
You should fix the flaw in the database structure, not attempt a hack.

Create a Violations table and a one-to-many join from the Visitor table to
the Violations table, and use a form/subform for data entry/review. Use the
Analyze Table Wizard to create the Violations table and split existing
records...

Tony D'Ambra
Web Site: aadconsulting.com
Web Blog: accessextra.net

"wizof103" <wi******@bellatlantic.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I created a form that has a date field for a person that has violated
one our rules on a visit. This has their Name, address, Date of
Violation, type of violation and so on. When I first created this I did
not know that there could be multiple entries for the same person. Is
there a way to add to the date field and put a new date, and update the
violation per new violation? So if a person comes in violates the first
time he goes into the system. If he comes in again I would like to add
not update the persons ID by adding dates to a record and the new or
same violation. Any ideas would help. Thanks in advance.

Nov 13 '05 #3

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

Similar topics

1
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 ...
2
by: NewBob | last post by:
Since Access automatically highlights all of the text in a text control (I use it to hold data from a memo field) when the control is activated, I've added the following code to put the cursor at...
1
by: RC | last post by:
I have an Access 2002 database with many tables and forms (but just to keep things simple, let's say the DB has one Table "Table1" and one Form "Form1"). I have managed to cobble together so much...
1
by: DrFoo | last post by:
Hi, I'm trying to check for a unique value index violation on a bound field when done editing the field (before update, on exit, on lost focus, etc), and when I find a violation change the value...
5
by: MLH | last post by:
I have a form based on a table that is opened this way... DoCmd.OpenForm "frmAdminSetupInfo", , , , A_EDIT It was my intention that the form allow the user to edit table data - not add...
1
by: ___Newbie___ | last post by:
Hello, What is the best way to implement a form based editing? The user would select first from a list control (highlighted selection) ? e.g. through a listbox or datagrid. Then, select from...
5
by: tsnyder | last post by:
I need to have an option button that allows editing to a field only when it is checked.
4
by: helenwheelss | last post by:
Access 2003, using a bound form. I'm seeing rather annoying behaviour when editing data in a control with a default value. It only happens when the form is on a new record. A specific...
1
ammoos
by: ammoos | last post by:
Hi Friends I have an issue in the MS Access Sub Form The Sub form contains Student Name, Address and one selection field(it’s a check box. in the database table, it specified as “Yes/No” field....
22
by: paul | last post by:
A crude, unlikely scenario just so I can get my head around this: Split DB; front end back end. Each user has the FE locally the BE is stored on a server. 1. UserA opens customerA's record and...
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
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...
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
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.