When Using Query With "grouped By"option, I Can't Edit Record In Table, Access 2007
Hi Guys
I'm a newbie trying to add some functionality to an existing Access 2007 database (running on Windows 10).
I have a table called "Workorders" that I have created a split form for and have customised it so that it had combo boxes etc to enable the user to change the record data....so far so good.
I then needed to add some existing queries to the form so that I could calculate some totals from records in a few other tables. This all works fine EXCEPT that I can no longer change any of the fields in the records.
I am sure that it is something to do with the fact that the 3 queries I added to the form use the "Grouped by" option and based upon my Googling, this is probably the issue.
Here is one of the queries:
SELECT DISTINCTROW [Workorder Labor].WorkorderID, Sum([BillableHours]*[BillingRate]) AS [Labor Total]
FROM [Workorder Labor]
GROUP BY [Workorder Labor].WorkorderID;
How do I get around this issue? I need to have the totals and I also need to have the ability to change the data...
Thanks for any help you can provide.
Regards
Greg
Hi Guys
I'm a newbie trying to add some functionality to an existing Access 2007 database (running on Windows 10).
I have a table called "Workorders" that I have created a split form for and have customised it so that it had combo boxes etc to enable the user to change the record data....so far so good.
I then needed to add some existing queries to the form so that I could calculate some totals from records in a few other tables. This all works fine EXCEPT that I can no longer change any of the fields in the records.
I am sure that it is something to do with the fact that the 3 queries I added to the form use the "Grouped by" option and based upon my Googling, this is probably the issue.
Here is one of the queries:
SELECT DISTINCTROW [Workorder Labor].WorkorderID, Sum([BillableHours]*[BillingRate]) AS [Labor Total]
FROM [Workorder Labor]
GROUP BY [Workorder Labor].WorkorderID;
How do I get around this issue? I need to have the totals and I also need to have the ability to change the data...
Thanks for any help you can provide.
Regards
Greg