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 / November 2007

Tip: Looking for answers? Try searching our database.

Not able to enter data in form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Allycat - 13 Nov 2007 19:57 GMT
Hi All,

I created a database to keep track of workshop sales. I am trying to create
a form with fields from 2 tables. The subform is the part that is giving me
the problem. It includes fields from the order form and fields from an auto
lookup query. The first one I created worked fine. I added a total in the
subform footer and now I can't enter any data. I deleted all forms, edited
all relationships, even made a new database with no success. I checked the
properties and everything is set as it should be.....Any suggestions?

Thanks!
Klatuu - 13 Nov 2007 21:14 GMT
When you create record source queries with multiple tables, you stand a
chance of creating an uneditable recordset.  This is most likely the problem.
Signature

Dave Hargis, Microsoft Access MVP

> Hi All,
>
[quoted text clipped - 7 lines]
>
> Thanks!
Allycat - 14 Nov 2007 04:57 GMT
How can I avoid this? I joined 2 tables with an auto lookup query, fields as
follows:

Products Table:
-Item # (Primary Key)
-Item Description
-Product Line
-Unit Price

Orders Table:
-Order # (Primary key)
-Sortcode
-Item #
-Quantity
-Presenter #

Item Lookup Query:
-Item # (Orders Table)
-Item Description (Products Table)
-Product Line (Products Table)
-Unit Price (Products Table)

The Item Lookup query runs perfectly. I then create a subform for the orders
which includes the following fields:

Orders Subform
-Sortcode (Orders Table and Child field)
-Presenter # (Orders Table)
-Item # (Query)
-Item Description (Query)
-Unit Price (Query)
-Quantity (Orders Table)
-Extended Price (Calculated Control)

In Subform Footer:
Grand Total for Workshop (This field is linked to a calculated control on
the main form.)

This is where it all goes wrong...the query works by itself and the orders
form works by itself, as soon as I combine them it quits working......sooooo
annoying :)

Thanks for your help!

> When you create record source queries with multiple tables, you stand a
> chance of creating an uneditable recordset.  This is most likely the problem.
[quoted text clipped - 10 lines]
> >
> > Thanks!
Klatuu - 14 Nov 2007 14:19 GMT
I would suggest you consider a Form/Subform approach.  This is how it is
typically done when you have an order entry situation.
Signature

Dave Hargis, Microsoft Access MVP

> How can I avoid this? I joined 2 tables with an auto lookup query, fields as
> follows:
[quoted text clipped - 54 lines]
> > >
> > > Thanks!
 
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.