Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / September 2006

Tip: Looking for answers? Try searching our database.

I cant add certain fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fordrules01 - 18 Sep 2006 02:13 GMT
I have a form that combines data from multiple tables. I have the ability to
edit all fields within existing records but have a problem when it comes to
adding a new record. When I try to do this I can edit all fields except for
those that come from my primary table. I have checked that allow edits and
additions are both set to yes so I don't understand why this is happening.
Any suggestions?

Thanks

Matt
Ray - 18 Sep 2006 19:21 GMT
Matt,

If your form is based on a query that uses multiple tables, it is normal
that in some cases you can't add records. This happens for example, when the
query does not initialize the foreign key value of a related table. If you
open the query in datasheet view and try to enter a new record there, you'll
see why.

Try this:
Make a copy of the query and save it. Run it from the database window. Go to
the last line and enter the fields that exist only in your form. Chances are
there is a field that is left empty that shouldn't be empty. Access will
refuse to add the record in that particular case.

If this is the case then you'll need to design your form in such a way where
the primary table gets populated first then the secondary table after.

> I have a form that combines data from multiple tables. I have the ability to
> edit all fields within existing records but have a problem when it comes to
[quoted text clipped - 6 lines]
>
> Matt
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.