PC Review


Reply
Thread Tools Rate Thread

Data Entry form problems

 
 
allie357
Guest
Posts: n/a
 
      31st Aug 2006
I have a Policy Violations database that someone else built and I have
had to normalize.
Now I am having trouble building the new entry form. I know I will
probably need a subform or a button that opens a subform to add a new
violator. What I wanted to do was have a combo box that would
facilitate data entry for new violations for repeat offenders. I have a
Violators table in a one to many relationship with a Violations table
and there are violators with multiple violations. I want to be able to
use the combo box to add the violator's name to the new violation. I am
using Violator_ID, the foreign key for the combo box on the form.

I have data entry set to yes but it does not seem to like me adding new
records to the table.

Any help is appreciated or design advice.

 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      31st Aug 2006
On 31 Aug 2006 11:25:06 -0700, "allie357" <(E-Mail Removed)>
wrote:

>I have a Policy Violations database that someone else built and I have
>had to normalize.
>Now I am having trouble building the new entry form. I know I will
>probably need a subform or a button that opens a subform to add a new
>violator. What I wanted to do was have a combo box that would
>facilitate data entry for new violations for repeat offenders. I have a
>Violators table in a one to many relationship with a Violations table
>and there are violators with multiple violations. I want to be able to
>use the combo box to add the violator's name to the new violation. I am
>using Violator_ID, the foreign key for the combo box on the form.
>


What you'll probably want is to have a Combo Box on the Violations
subform, bound to the ViolatorID field, and based on the Violators
table; and use VBA code in that combo box's Not In List event to pop
open a new form to enter the violator's information when a new
violator must be added.


John W. Vinson[MVP]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data entry problems with form based on Query aardvick Microsoft Access 3 20th Jun 2008 09:03 PM
Continuous Form data entry problems Boz Microsoft Access Forms 3 29th May 2008 03:35 AM
Data Entry Form and Subform problems Freeflyer Microsoft Access Form Coding 5 10th Dec 2007 03:13 PM
Access - Form Data Entry Problems =?Utf-8?B?ZmVucmly?= Microsoft Access 1 29th Aug 2006 11:16 AM
Problems with a macro driven data entry form Richard Microsoft Access Macros 3 28th Oct 2004 12:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.