ms-access

“Data source name not found and no default driver specified” with Access ODBC

倖福魔咒の 提交于 2020-01-09 02:29:16
问题 My Softwares: Python 3.4 -64 bit PyODBC 64 bit MS office package Installed (32 bit) Problem: Now, I try to access MS Access 2010 installed in my computer using PYODBC. It does not work regardless of what I try. My error is always this: pyodbc.Error: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') I already looked at: pyodbc and ms access 2010 connection error Cannot connect to Access DB using pyodbc It is

Microsoft Access - Link pictures to database automatically based on folder directory + firstname lastname

浪尽此生 提交于 2020-01-07 09:45:23
问题 Hi I cant find anything regarding this, would be great if someone could point me in the right direction. I have an access database with 4000 gym members. I want to add profile pictures by linking from a given directory. I dont want to manually link 4000 pictures I want it to automatically search in the directory and match the firstname + last name + DOB of the member with the picture which will have the identical eg: bobjones05121989 Thanks ahead for your help. 回答1: Are you using Access 2007

Asking for code design advice: working with VB.Net and Ms-Access

有些话、适合烂在心里 提交于 2020-01-07 09:23:18
问题 Perhaps naively, I created a class (AdminDatabase) to handle connection to different MS-Access database files (see code at bottom). The purpose of the class was to allow retrieval of data from a MS-Access database and to manipulate the data. This works well. I can feed an instance of the AdminDatabase class an SQL statement and fill a dataTable with the result ( getDataTable method in the code section. Now I have added data sets to the project using Visual Studio's data designer. Now I am a

Excel : Get the most frequent value for each group

吃可爱长大的小学妹 提交于 2020-01-07 08:32:16
问题 I Have a table ( excel ) with two columns ( Time 'hh:mm:ss' , Value ) and i want to get most frequent value for each group of row. for example i have Time | Value 4:35:49 | 122 4:35:49 | 122 4:35:50 | 121 4:35:50 | 121 4:35:50 | 111 4:35:51 | 122 4:35:51 | 111 4:35:51 | 111 4:35:51 | 132 4:35:51 | 132 And i want to get most frequent value of each Time Time | Value 4:35:49 | 122 4:35:50 | 121 4:35:51 | 132 Thanks in advance UPDATE The first answer of @scott with helper column is the correct

SQL / VBScript / Intelligent Algorithm to find sum combinations quickly

徘徊边缘 提交于 2020-01-07 08:27:26
问题 Am trying to list out all the possible sequential (continuous and forward direction only) sum combinations , within the same subject. Listing out the row_id and the number of rows involved in the sum. Sample : Input (Source Table :) DLID Subject Total 1 Science 70 2 Science 70 3 Science 70 4 Science 70 5 Maths 80 6 Maths 80 7 English 90 8 English 90 9 English 90 10 Science 75 Expected Result : ID Number of Rows Subject Total 1 1 Science 70 2 1 Science 70 3 1 Science 70 4 1 Science 70 5 1

Microsoft Access Query Syntax Access (using IN clause within an IN clause)

╄→尐↘猪︶ㄣ 提交于 2020-01-07 08:24:47
问题 Hi I have had a problem with the following query. I am using two IN clauses to find the type=LEFT for only type=JOIN has occurred once. However, the code is breaking. Ultimately, I am trying to find how many animals left the Zoo without ever JOIN the cage. Thus, it outdates the database knowledge as I have added animals leaving without the join date I believe the following code should be the resolution however it is not working To my understanding I need an IN clause within an IN clause

Microsoft Access Query Syntax Access (using IN clause within an IN clause)

戏子无情 提交于 2020-01-07 08:24:04
问题 Hi I have had a problem with the following query. I am using two IN clauses to find the type=LEFT for only type=JOIN has occurred once. However, the code is breaking. Ultimately, I am trying to find how many animals left the Zoo without ever JOIN the cage. Thus, it outdates the database knowledge as I have added animals leaving without the join date I believe the following code should be the resolution however it is not working To my understanding I need an IN clause within an IN clause

MS access latest date issue

∥☆過路亽.° 提交于 2020-01-07 08:22:32
问题 I have 2 excel files at work where I maintain the rates of assets and the dates when the rates were issued. Another excel file has the list of assets and the dates when they were sold. So one excel file has the following columns: Asset------Rate------Rate_Issued_On 1. X-------1500------21-Apr-2014 2. X-------2000------28-Aug-2013 3. Z-------2200------11-Jan-2014 4. X-------3000------1-Jan-2014 The other excel file has (let's suppose): Asset-----Sold_Date 1. X------1-Dec-2013 2. Z------12-Mar

Database design without a 1 column table

隐身守侯 提交于 2020-01-07 08:09:08
问题 I have been working on a database design and I'm stuck hitting a wall. I'm ending up with what I'm reading is not a normalized database structure but I'm having issues trying to find a "more correct" design and if this design is acceptable how do I execute it in Access? TLDR: If a table with a single column set as an auto number is an acceptable design, how do you go about inserting a record in it using Access? The segment of the database of concern is creating a structure for storing

Database design without a 1 column table

狂风中的少年 提交于 2020-01-07 08:08:04
问题 I have been working on a database design and I'm stuck hitting a wall. I'm ending up with what I'm reading is not a normalized database structure but I'm having issues trying to find a "more correct" design and if this design is acceptable how do I execute it in Access? TLDR: If a table with a single column set as an auto number is an acceptable design, how do you go about inserting a record in it using Access? The segment of the database of concern is creating a structure for storing