Microsoft
Software
Hardware
Network
Question : Adding the record count of one table into another
I would like to capture the result of my query or find another way to calculate it via a form to add it to a table.
I have a follow up table (tblFollowUps) that tracks the date and details of follow-ups to an issue. I would like to count the number of follow-ups to any given issue and record itin a field of the main table (tblComplaints). I am able to write a query that returns the results I am looking for but am at a loss as to how to use it.
SELECT Count(tblFollowups.Complai
ntID) AS followupCount
FROM tblComplaints INNER JOIN tblFollowups ON tblComplaints.ComplaintID = tblFollowups.ComplaintID
WHERE (((tblFollowups.ComplaintI
D)=[Forms]
![frmCompl
aint]![com
plaintID])
);
How do I get the result of this query into my tblComplaint field followUpNumber?
I hope I am missing something obvious.
Answer : Adding the record count of one table into another
Nevermind. I found a workaround using DCount().
Random Solutions
VBA - Playing Movies using VLC or GOM Player
How to zero or delete transactions of purchases, sales and inventory in Dynamics Great Plains
Best way to push out printers to domain users?
Getting Microsoft.Win32.RegistryKe<wbr />y from PROFILEINFO.hProfile - from PInvoke to .Net
Unable to set break point
Division & OLAP Cubes
Access Form with labels can't cycle through labesl in vba code. Original labels recognized but not newly added labels.
Access VBA
SBS 2008 iis7 problem
MISSING: Microsoft Windows Common Controls - 2 6.0 (SP3)