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 / Queries / August 2005

Tip: Looking for answers? Try searching our database.

Changed Form Source to Query to Sort Data and Getting Errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karl Burrows - 07 Aug 2005 06:49 GMT
I tried to change the sort order of a form to using a query and now any
records that have no data are locked and I am unable to input any data in
the fields.  I just created a query that matched the field values of the
table I was using before and changed the source of the form to the new
query.

Did I do something wrong here?  Do I need a different type of query or
anything in the query to tell it to add new data?

Thanks!
Karl Burrows - 07 Aug 2005 06:53 GMT
Actually after looking at it a bit more, it does not let me add any new
records to any groups, not just new ones.  We have a main form with regional
information and then a sub-form with the detail within that division.  I
can't add to a division that had no data to start with (just division info
setup initially) or add records to any existing division.

Thanks!

I tried to change the sort order of a form to using a query and now any
records that have no data are locked and I am unable to input any data in
the fields.  I just created a query that matched the field values of the
table I was using before and changed the source of the form to the new
query.

Did I do something wrong here?  Do I need a different type of query or
anything in the query to tell it to add new data?

Thanks!
tina - 07 Aug 2005 09:20 GMT
are you using a query as the RecordSource of the main form? or the subform?
or both? post the SQL from the relevant query(s).

> Actually after looking at it a bit more, it does not let me add any new
> records to any groups, not just new ones.  We have a main form with regional
[quoted text clipped - 14 lines]
>
> Thanks!
Karl Burrows - 07 Aug 2005 19:56 GMT
I am sorting the records in the subform only because I changed a field value
to text (you just posted to that question as well, thanks!), which resulted
in using a query instead of a direct link from the tables to populate the
information in the form.

I removed the query and created another one and it is working now.  I guess
I must have had a missing field or had some constraint that was keeping the
form from populating.

Thanks!

are you using a query as the RecordSource of the main form? or the subform?
or both? post the SQL from the relevant query(s).

> Actually after looking at it a bit more, it does not let me add any new
> records to any groups, not just new ones.  We have a main form with
regional
> information and then a sub-form with the detail within that division.  I
> can't add to a division that had no data to start with (just division info
[quoted text clipped - 14 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.