ms-access-2016

MS Access query, how to use SQL to group single dates into weeks

霸气de小男生 提交于 2021-02-05 09:30:53
问题 I currently have two tables. One has Employee Names and a number associated to that name. The other date has time sheet date with columns for the employee number, the date and the number of hours worked on that date. I want to create a cross tab query that shows the employee names in one column with the date for the end of the week in each column, then show to sum of hours for that week for a particular employee. My current query works but only groups by month. I am struggle to work out how

MS Access query, how to use SQL to group single dates into weeks

一笑奈何 提交于 2021-02-05 09:30:41
问题 I currently have two tables. One has Employee Names and a number associated to that name. The other date has time sheet date with columns for the employee number, the date and the number of hours worked on that date. I want to create a cross tab query that shows the employee names in one column with the date for the end of the week in each column, then show to sum of hours for that week for a particular employee. My current query works but only groups by month. I am struggle to work out how

How to save row values from one field in subform to main form record? - Access

ぐ巨炮叔叔 提交于 2021-01-29 08:47:03
问题 I have a parent form (frmGroupSession) that has a subform (SubFormParticipants) in datasheet view. The subform is based off a query that selects all participants ([CLIENT ID], [NAME], [ATTENDED]) that had attended a specific group [GroupID] on a specific date [GroupSessionDate]. The parent form saves to a table that logs group sessions (tblGroupSessionLog). I need to save the group's participants [CLIENT ID] to the record within tblGroupSessionLog Basically, I need to pass data from the

Postgresql syntax in ms access

独自空忆成欢 提交于 2021-01-29 07:21:01
问题 I was reading this link: Does PostgreSQL support "accent insensitive" collations? about how to use accent insensitive queries. and this link PostgreSQL: How to make "case-insensitive" query about using case insensitive queries. Tested a query in pgAdmin: SELECT * FROM Customers WHERE unaccent(Customers.customername) ILIKE unaccent('abc%') and it works fine. It gives me the expected results. However, my front end is in MS Access 2016, is there a way to send this query to Postgres from within

Selecting additional data/values to display as column in query or in form

这一生的挚爱 提交于 2021-01-29 06:10:29
问题 I have an employee index, that I need to run queries on for each employee, and display that output along with the original employee. So say the employee index has an ID, batch, status, and multiple other columns. I have a table where I keep track of every time a column in the employee index changes. I want to display and later export dates of when certain columns use to equal other values, right along side the original employee row. Naturally I tried creating a form to display multiple value,

Allen Browne's ConcatRelated() Error 3061: Too few parameters

Deadly 提交于 2021-01-29 03:01:01
问题 I am trying to create a list of products at a given warehouse. Allen Browne's ConcatRelated() function seems to be the tried and true method to create lists using when a linked variable is the same, but I can't get it to work. I have broken my information down into a single query... "qry_Products" SELECT qry_AX_LineItems_LINES.Warehouse, tblREF_Chemical.[Sales Name] FROM qry_AX_LineItems_LINES INNER JOIN tblREF_Chemical ON qry_AX_LineItems_LINES.ItemId = tblREF_Chemical.[Item Number] GROUP BY

MS ACCESS 2013-2016 continuous form shows error when adding any record past the 3rd when connected via ADO to SQL SERVER. Can this be fixed?

懵懂的女人 提交于 2021-01-28 19:08:30
问题 MS ACCESS 2013-2016 continuous forms show an error when adding any record past the 3rd. I have connected via ADO to SQL SERVER. I have been working on this issue for days. I am hoping there is something I can modify in my connection string, use a different library, or anything I can do in VBA to avoid building multiple workarounds in a project that has existed and grown over 20 years. Is this a known issue? Can this be fixed? Link to Continuous Form Showing Error This is the form code I am

Access 2016 (64bit) MSO (365) deployed database cannot run with any runtime avaliable

帅比萌擦擦* 提交于 2021-01-28 07:50:22
问题 I've made an application on an MS Access 2016 with 365 subscription and deployed an .accde file. When I try to open that file on another PC with runtime installed (tried with 2016 4288-1001 64bit and 2013 64bit) I get an error saying "Database you are trying to open requires a newer version of Microsoft Access". I know that are some issues related to runtime and 365, but some people said that using runtime 2013 solved their problem (but not mine). Anyone have a solution for this? 回答1: The

What could be the reason for VBA error 91 when assigning object

守給你的承諾、 提交于 2020-12-15 03:46:46
问题 I have a Macro in Excel that queries data from an Access database. It is working fine with me. I shared the file with a few colleagues and two of them keep getting the error "91 Object variable or With block variable not set". Debugging indicates that this line is the culprit. Set rs = objAccess.CurrentProject.Connection.Execute(SQL) Appreciate any insights you can share. Relevant code below. Sub RefreshData() On Error GoTo SubError Const DbLoc As String = "path to .accdb" Dim objAccess As

What could be the reason for VBA error 91 when assigning object

回眸只為那壹抹淺笑 提交于 2020-12-15 03:45:12
问题 I have a Macro in Excel that queries data from an Access database. It is working fine with me. I shared the file with a few colleagues and two of them keep getting the error "91 Object variable or With block variable not set". Debugging indicates that this line is the culprit. Set rs = objAccess.CurrentProject.Connection.Execute(SQL) Appreciate any insights you can share. Relevant code below. Sub RefreshData() On Error GoTo SubError Const DbLoc As String = "path to .accdb" Dim objAccess As