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

Form Fields Not Blank when Adding a New Record

When I want to add a new record to my MS Access 2007 database, using a form I designed using the form wizard, the fields in the next records are already populated. How can I fix this?
Dec 7 '11 #1
4 2206
Seth Schrock
2,965 Expert 2GB
Do you have any default values set?
Dec 8 '11 #2
When I look at my property sheet for each unbound field, in the "default value" row, there is nothing. Should I be looking for a default value elsewhere?
Dec 8 '11 #3
Seth Schrock
2,965 Expert 2GB
There are two places that you can have default values: in the table and in the form/report. I don't know which one you checked, but I'll give instructions for both. For the table, open the table in design view and then click on the field that is being populated automatically. In the field properties on the bottom of your screen, there is a line for default value. For the form/report, open the object in design view, click on the control that is connected to the field that is being populated and view the properties for that control. In the data tab, there is a line for default value.

You might also check the form's OnOpen, OnLoad, OnResize, OnActivate and OnCurrent events. Each of these events occur (in that order) when a form is opened. It is possible that in one of these events there is some code setting a value to the controls.
Dec 8 '11 #4
I do not have default values in both my table and form. In the form "event" tab, I do not have the options "OnOpen, OnLoad, OnResize, OnActivate and OnCurrent events", but I do have an embedded macro under "after update". I do not know what this macro is. I did not put it there.
Dec 8 '11 #5

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

Similar topics

1
by: Andante.in.Blue | last post by:
Hi everyone! In Access 97, I have a parent form and a subform that are both based on the same query. The main form is continuous and serves up a summary for each record. The subform provides...
8
by: Raven | last post by:
Hello, I get a error message when I try to Add data in a relational Access Database. This is the error message: "You cannot add or change a record because a related record is required in...
2
by: brenda.stow | last post by:
error msg " An error occured while referencing the object. You tried to run a visual basic procedure that improperly references a property or method of an object" This msg occurs everytime I add a...
6
by: Gustaf | last post by:
My Windows app is dependant on some registry keys settings. In case the subkey for the app doesn't exists, I want to show a messagebox, and then quit the whole program (without showing the main...
0
by: Mohammad Hashemian | last post by:
Hello, I'm writing an application and in one of my form, I used a COM component to design a special UI. this component added to the reference section of project, but when I close the IDE and open...
5
by: rdemyan via AccessMonster.com | last post by:
I have a table with about 80 fields. I'm using an import process to populate the table. It works fine, except for the following: Users generally don't specify values for a lot of numerical...
2
by: Tom_F | last post by:
To comp.databases.ms-access -- I would like to trigger an event when I close a form -- but ONLY when the data in the "RecordSource" table has been updated. I tried using the AfterUpdate event,...
5
by: sara | last post by:
Hi - I have 2 new questions in a new database I'm trying to develop. The first has 6 fields on a table and allows the user to enter them on a form. The form is bound to the table. All 6...
0
by: inglesp | last post by:
Hi there I have the following problem, and I was hoping that somebody might be able to show me where I'm going wrong. I have a form - Form1, say - that takes its data from three tables: facs,...
1
by: Steve | last post by:
This may be a dumb questions please forgive I have a form that shows a list box that links to a table with 7 employee names The form does not show employee key. When adding record to master...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.