User Profile
Collapse
-
thanx! Left Outer Join works -
access update query
I have two tables:
TrendMaster: EmployeeID, Joined_Period, Delay, Index, Branch, K
*Joined_period takes month eg: "April", "March"...
TrendSheet: Branch, April_Joined, April_Delay, April_Index, May_Joined...so on till March_Delay, March_Index
I need to update April_Index with: Average of K factor of employees in TrendMaster for whome Joined_period is April-09 and these... -
That apostrophe got missed somehow...I posted the same question on other forums...probab ly while copy pasting it got out...
Actually this is a very simple data and can be maintained and tracked easily using Excel. I chose to create the trend sheet in single click out of the data, thats why using access.
Also there are limits like this will be used by non-tech guys after I am done and resources are very limited. The output...Leave a comment:
-
Got the answer!
For anyone else who needs this, posting the query that worked:
Thanx!Code:UPDATE TrendSheet INNER JOIN TrendMaster ON TrendSheet.Branch=TrendMaster.Branch SET April_Joined=DCount("[EmployeeID]","TrendMaster","[Joined_Period]='April")Leave a comment:
-
Update Count of records from one table to another based on criteria
I have two tables:
TrendMaster: EmployeeID, Joined_Period, Delay, Index, Branch
*Joined_period takes month eg: "April", "March"...
TrendSheet: Branch, April_Joined, April_Delay, April_Index, May_Joined...so on till March_Delay, March_Index
I need to update April_Joined with: Count of employees in TrendMaster for whome Joined_period is April and these need to be grouped...
No activity results to display
Show More
Leave a comment: