ms-access

Cannot connect Access to SQL Server Linked Tables - error message loggingin

北战南征 提交于 2021-02-05 09:15:39
问题 I have a client for which I am setting up a new SQL Server Express and (on a different computer) connecting their Access front end to that SQL Server. I created an account on SQL Server, changed authentication to SQL Server. I am able to log on to that account with no issues locally (through SQL Server Management Studio) on the server itself, but when I go back to the client machine and try to create either an ODBC connection or connect directly in Linked Table manager, I get the error below.

MS-Access : Query to generate dates for recurring events?

我的未来我决定 提交于 2021-02-05 08:55:26
问题 I'm not too familiar with the more complex queries and I'm having an issue finding some examples to take apart to utilize.. Event Name | Due Date | Frequency |Frequency UOM S-XYC-001 | 10/17/2020 | 360 | D S-XYA-003 | 6/1/2020 | 90 | D S-XYC-004 | 4/3/2020 | 180 | D So, we have a set of work that has an initial due date provided, and an expected frequency along with a unit of measurement (I've converted all my frequencies into days as there was previously a mix of days, quarterlies, months..)

MS-Access : Query to generate dates for recurring events?

荒凉一梦 提交于 2021-02-05 08:55:15
问题 I'm not too familiar with the more complex queries and I'm having an issue finding some examples to take apart to utilize.. Event Name | Due Date | Frequency |Frequency UOM S-XYC-001 | 10/17/2020 | 360 | D S-XYA-003 | 6/1/2020 | 90 | D S-XYC-004 | 4/3/2020 | 180 | D So, we have a set of work that has an initial due date provided, and an expected frequency along with a unit of measurement (I've converted all my frequencies into days as there was previously a mix of days, quarterlies, months..)

CharSet for MS Access '97 DB using UCanAccess

孤人 提交于 2021-02-05 08:28:13
问题 Hey I am reading a database using ucanaccess-5.0.0. The database is propably < Access 2000, since it's not UTF-8. It seems like I have to setup a charset. I tried this using the charset parameter in the url: jdbc:ucanaccess://${databaseFile.absolutePath};memory=false;charSet=Cp1250 It seems to be ignored, since I still don't get my german umlauts out of the DB. What can I do about it? 回答1: Working Solution: class DatabaseOpener : JackcessOpenerInterface { override fun open(fl: File, pwd:

SQL Query to Group By and Concat rows

余生长醉 提交于 2021-02-05 08:27:52
问题 Hi I have the following table: Doc | code | Qty | Next 5211386 | 91992 | 1 | 52183 5211386 | 91992 | 1 | 52182 I trying to figure out a way to group the records by the first two colums, sum the third and concat the last column to obtain something like: Doc | code | Qty | Next 5211386 | 91992 | 2 | 52183-52182 Any help? 回答1: Sounds like you're looking for a group_concat like function found in MySQL. Check out Allen Browne's solution SELECT Doc, code, Sum(Qty), ConcatRelated("[Next]","TableName

Access: ConcatRelated works on a table, but not on a query

安稳与你 提交于 2021-02-05 08:19:06
问题 I have been using Allen Browne's ConcatRelated function, and while it works fine when the data comes from a table, but it doesn't work when the data comes from a query. The green 'running query' bar appears for a few seconds, but then when it tries to display the data it shows only one field from the first row, runs very slowly and can take a few minutes to display the first screen of records. I've not managed to leave it long enough to complete the result set, have to shut down Access using

Time calculation from Date & Time

夙愿已清 提交于 2021-02-05 08:14:28
问题 I am trying to figure out a way where I can use MS access to convert the the following data to show the minutes spent within each column, whilst also discounting weekends from the final figure. This data is pulled from a project management software where the task is passed through each column as it goes through the relevant stage of calibration (hence the data format as shown). This table will also store the transition data for all products that go through this process. Will this calculation

Access 25%, 50%, 75% Quartiles (Data From Query and Result Destination is a Report)

旧巷老猫 提交于 2021-02-05 08:09:17
问题 The data that I need the quartiles is a query with the first column being the month-year and the second column being a count of defects for that month. I am looking to have the quartiles to be displayed on a report (Name: QE Quartile Test). Query name: QE Test Count Step 2 Columns names: ProductionYM ; Claims The following code is something I found online but I don't code much so I don't know where to go from here. Public Function XPercentile() XPercentile = DMin(Claims, QETest, "DCount(""*""

MS Access get ISO standard week number

不想你离开。 提交于 2021-02-05 06:51:48
问题 I'm surprised that I can't find any existing solutions to this online but I just need an SQL function that returns an ISO standard week number (i.e. the start of week 1 is always the first Monday of the year). None of the DatePart function options consistently return the correct result. I had thought the option "vbFirstFourDays - Start with the first week that has at least four days in the new year." but testing it for today (12th Jan) returns week 3, not week 2 (my expression is DatePart("ww

Any way to edit data on MS-Access form using SQL View with two tables

左心房为你撑大大i 提交于 2021-02-05 06:11:26
问题 From what I've read it should be possible to edit data described by a view if the data being modified represents only one table and a unique identifier field is included in the data. According to Microsoft Any modifications must reference columns from only one base table Has anyone had any luck creating an MS-Access form that is editable when the underlying recordset is based on a view or stored procedure merging data from two tables? My form only used the secondary table to join a code table