Form Fields.. adding after Form complete...

CEH

Curtis
Local time
Today, 14:52
Joined
Oct 22, 2004
Messages
1,187
I'm very new at this so please bare with me...... I made a form, based on 3 tables..... After completing the form I noticed a field I wanted to add. So, I added a column to one of the tables used in the form...... When I tried to place the new field in the form, the field does not show up in the drop down for control source. If I attempt to make the path to the field it comes up with "#Name?" in the form box.
What am I doing wrong???

Thanks
 
Did you add the field to the table without closing the frm first? If so, close the form and reopen it, the new field out to be available in the field list.

If not, check the form recordsource and verify that the added field is included in the form recordsource.
 
Did that.........

I tried every way I could think of to add the box in the form. Closed it... Added it to the table........ But..... When I opened the form in design view the new feild was not there to add. I ended up doing a new form. But this doesnt seem right..... There has to be a way to add without redoing the form. ?????????????? :confused: :confused: :confused:
 
How did you build your form on the 3 tables? Did you create a query that links the 3 tables and then base your form to get informatinon from that query?

Whenever I make forms that use all the data in a table, In my query I use the * field to grab all the fields vs. selecting them all.

I'm not sure if this will help you, but its worth a try.
 
If a field is not present in the Form's field list and exists in an underlying table, it is not included in the form's recordsource. If you build a query or SQL string as your recordsource, the "mssing" field may not have been selected to be included in that query or SQL string.

Examine the "field list" icon in the "Form Design" toolbar. That list consists of all fields "selected" to be in the form's recordsource.
 
Still not there......

The form does not draw off of a query. 3 tables... linked... The form inputs info.
I wanted to add a field on the form that is not in any table. So first I added a field to one of the tables being used in the form. But the new field is not there (in the available fields box) IF I start from the beginning I can bring it into the form. But............. I dO NOT want to.... and shouldn't have to.
You place a field in the form.. it is "unbound" I want it to be bound.
Thanks
 
Check you form's recordsource. Check the "control source" property of the field. Trying using the list in the control source; be sure to select enter after selection or specifying the control source.
 
Been there......

Done that....... There is no field in the control source to choose from. Thats the problem! It seems like since I didn't pick it when making the form it is not in the list now. I tried building a path in the control....... But all I get is "#Name?" back...... I'm lost on this one for now.
 
Field problem

Perhaps you can attach a zip file with the db to a new message.
That way we can have look at it and perhaps figure out what is going on.
(Don't forget to remove sensitve data). Trucktime
 
OK here it is........

Files a bit too large...... it wont let me............. 138.... can only be 100 :mad:
 
Found it

Since I found the answer I'll post it.........


2) Adding New Fields to a Form or Report
The tip this week covers a question I am asked at regular intervals. The following is the basis of the question asked:

Question

Once I make a form and base that form on a table(s), then later on I decide to add another field to the table; this field is not showing up in the field list on my form. Why not? Do I have to completely rebuild the form every time I add a new field?

Answer

The problem with both forms and reports is that if you add fields to your table, these are not then automatically added to the query that underlies the form or report - you have to do this manually.

You may not even realise your form or report is based on a query and, to confuse you even more, the query does not exist in the Query Object section of the database. What happens is that if you follow the Wizard to build a form or report based on more than one table, Microsoft Access automatically builds a query to base the form or report on and then stores this query with the form.

To manually add a field to this query:

Open the form or report in Design view;

Open the properties to the form or report by right clicking in the grey square on the upper left-hand side of the form or the report (where the two rulers meet), then selecting 'properties' from the drop down list.

With the properties window open, click on the 'Data' tab then, next to 'Record Source', click on the '...' button. This will open the query the form or report is based on.

Add the new fields by double clicking on them.

Close and save the query.

Your fields should now be in your field list.
 

Users who are viewing this thread

Back
Top Bottom