Questions tagged [ms-access-2010]
Microsoft Access 2010 Personal Relational Database Management System.
6,048
questions
0
votes
0
answers
42
views
Set focus to a particular column on empty query grid
The ACCESS form opens a simple query in acReadOnly mode. Using a button on the form, I would like to set the focus to a specific column in the query grid. The code works correctly if the query returns ...
0
votes
1
answer
43
views
How to create a single form in Access with 10+ tables
I am trying to create a single form in access to input data into 15 tables in the relational database but Access keeps shutting down when I try to. The total number of fields in the database is over ...
0
votes
1
answer
41
views
Application.DisplayAlerts Forces Step Into
When exporting data from an Access query (O365, Version 2310 build 16924) to an Excel template (xltm) the following code "pauses" on the "xl.Application.DisplayAlerts = False" line ...
0
votes
0
answers
27
views
Adding item from another table in ms -access combo box
I have a combo box with row source = suplier.suplierid, suplier.supliername. I am using a search-as-you-type code:
Option compare database
Dim ssouce1 as string
Private sub Form load()
Ssouce1 = ...
0
votes
0
answers
41
views
How to save an image from an Access database to disk using Python
I need to export a picture from an Access database, but it gives me an error. I've already tried a lot of things but nothing works.
import win32com.client
daoEngine = win32com.client.Dispatch('DAO....
0
votes
0
answers
32
views
How to populate combobox2 depending on *selected* access database table in combobox1 without writing If statements for each table in vb.net
I would want to prompt user to select a tool name from combobox1, then out automatically, combobox2 gets filled with tool description and size for that specific tool, which is a column in the selected ...
1
vote
1
answer
54
views
Multiple Search Text at the same time using Forms in Microsoft Access Database
I am fairly new to Access, so please excuse me if it sounds like a very simple question.
In Access, I have a table containing my data and additionally I have created a form which acts as a search ...
0
votes
1
answer
46
views
VBA webbrowser findtext next occurrences
I use a web browser control as a html editor in a MS Access 2010 database. I am trying to create a find text function to find certain strings and then select them.
I am using this code which works ...
0
votes
0
answers
14
views
ACCESS-match two tables for requirements and available and update requirement until zero
I have 2 tables to compare and match in MS-Access. 2 tables shown below and result I am trying to achieve is 3rd table.
Table1
Project Code Prod. Order No. Current AICD Balance
TT/21-...
0
votes
0
answers
19
views
Reports - multivalued List
I have a table that list the roles assigned to courses. Many roles to one course. I need to get the assigned roles into my Course report (The tables are related by CourseID). I have been able to get ...
0
votes
1
answer
41
views
How to Add columns to a multi-table Query with SQL in MSAccess
So I have merged two tables together in MS Access to a query. However, 1 of the tables was a customer table and the other was a supplier table. When I merged them the column with the customer number ...
-3
votes
1
answer
42
views
How to create login for a specific form in ms access database [closed]
I am looking for a way to create a login access to a specific MS Access form. I have multiple forms in the ms access database but one of the forms must be visible to only one particular user. To this ...
0
votes
1
answer
21
views
making a query in access for significant numbers
I'm trying to make a query in Access that brings back significant numbers Eg:
input 23.89 Output 23.9
input 3.567 Output 3.57
Input 6.49877897 Output 6.50
Input 0.0445 Output .045
I want the output ...
-2
votes
1
answer
95
views
Sort a combobox data in a formular
What can I change so it will work. I have 10 combobox they are depended of a value in a tabel called Rangetabel. In forms When I drop down the combobox I would like the tabel value to be sorted in a ...
0
votes
1
answer
20
views
Update Snowflake View using MS Access DB
Is it possible to update a Snowflake view using MS Access DB?
1
vote
1
answer
114
views
Why do left join results not match in the MS Access database
Why do left join SQL query results not match in the MS Access database?
Maybe there is something wrong with the SQL code that I wrote?
If there is an answer then I don't want to use the function in MS ...
1
vote
1
answer
48
views
The SQL query of detail in and details out with a four column primary key to generate stock does not match the results in the MS Access database
Only results for in column QTY_STOCK are not correct. Maybe there is something wrong with the SQL code that I made. So if there is an answer then I don't want to use the function in MS Access because ...
0
votes
1
answer
26
views
exporting selected data from access to excel
i have a big access DB with many columns and over 2000 rows. sometimes I need to export data to excel to send letters and etc. but each time its a differet data, like:
most of times i dont need all ...
0
votes
0
answers
20
views
how can i export access data filternig data and columns to excel
i have a big access DB with many columns and over 2000 rows.
sometimes I need to export data to excel to send letters and etc.
but each time its a differet data, like:
most of times i dont need all ...
0
votes
1
answer
24
views
I am trying to use validation to select relevant value from table
I have two forms frm_Rent and frm_Buy with same record source table tbl_Property which has 3 columns Col1, Col2, Col3. Col2 is alpha numeric and col3 is letters. How can i use Col3 to validate Col2 ...
1
vote
1
answer
68
views
MS ACCESS : Delete operation fails after 100 records
I'm running into an issue with MS Access. I have a delete routine setup (SQL) that purges an entire table before it's reloaded. For some reason, when it hits 100 deleted records, it bombs with the ...
0
votes
1
answer
39
views
I can't get the necessary characters
In MS Access, I send a request to an API and receive data in Uzbek Latin script, including characters like G', Q, O'. Sh I need to convert them to Uzbek Cyrillic script, where these letters look like ...
0
votes
0
answers
78
views
How to select a specific field from a table based on what a user selects on a form using VBA
I have never done this before rather I search for answers but I have not been able to find what I am looking for. I will try to be brief so forgive me. I have a table that I want to pull data from ...
0
votes
1
answer
50
views
How to display the names of files that are not extracted as output in VBA Access software
Sub ExportPDFs()
Dim rs As DAO.Recordset
Dim folder As String, path As String
Dim adoStream As Object 'Late bound ADODB.Stream
Dim failedFiles As New Collection 'list of failed files
...
0
votes
0
answers
27
views
Microsoft Access 2010 ADP cannot add new records to Updateable Snapshot, only when connecting to Amazon RDS for SQL Server 2019
We have a Microsoft Access 2010 ADP file, which is currently working perfectly with a Microsoft SQL Server 2019 (on-premises) database in the back end. As part of a project, we are trying to migrate ...
-1
votes
1
answer
88
views
Extract Files from an Access OLE Object
How 'bout taking those pdf-formatted package files from the table in Access and movin' 'em to a folder
If ya can, exteract the (product name) 'n the (pdf) as well That'd be awesome; lemme know if ...
0
votes
1
answer
25
views
I am using MS Access as an API for Twilio SMS, I need to know why sending SMS in spanish with spanish characters use 3 times the amount of segments
I need to know how to prevent spanish characters from trippling the size of my segments used.
I have just done research on fixing this issue but I cant find a good solution.
It sounds like a twilio ...
0
votes
2
answers
59
views
Pass record set from Access VBA as SQL Server stored procedure user-defined table type parameter
In C# you can pass data table as a user-defined table type as a SQL Server parameter. Is this possible with MS Access VBA, too? Can I pass adodb.recordset as such a stored procedure parameter?
I tried ...
0
votes
0
answers
20
views
DMax function msaccess [duplicate]
Wanna help
in attached screen shot I want before insert in table SNo should be checked with date if the SNo is added already in the date whNo should be +1 with the last SNo, and if no SNo is adich i ...
0
votes
1
answer
65
views
Assign Positions MS Access
I have a problem with MS Access (although I am a R programmer).
I have one reference table containing Latitude(min, max) and Longitude(min, max) for each grid square. In MS Access I want to assign the ...
0
votes
0
answers
25
views
changing dates in a record
Here the guy from the Baptism program again (Hopefully for the last time)
In the table Doopdata I stored all the days baptims take place in a certain church.
When de date of the baptisms changes on a ...
0
votes
1
answer
287
views
Open .csv file, change column format and save in VBA
I can't crack this one...can anyone help? I have a number of files emailed to me each day and I have a routine to save these on a network share. The original Excel csv files have the date fields in ...
0
votes
1
answer
35
views
Use a Variable in a Query SQL
I have a database with my media in it. And a query with the following line:
WHERE (((LPofCD.LPofCD) = MyKeus()))
Public Keus As String
Function MyKeus() As String
MyKeus = Keus
End Function
In a ...
0
votes
2
answers
39
views
Why is my MS Access report changing the actual cents to .00 instead of real numbers?
My table and subsequent queries all show actual numbers but for some reason the report is taking the cent value and changing it to .00 instead of the actual number coming from the query.This is the ...
0
votes
0
answers
51
views
how do i find out the current document component and code module parts
I am trying to run the following code
Private Sub Document_Open()
StringExecute ("MsgBox ""hello""")
End Sub
Sub StringExecute(s As String)
Dim vbComp ...
0
votes
0
answers
83
views
Insert data from Access table into ODBC link table (SQL server)
I tried many solution to insert data from an Access table into an ODBC linked table (SQL Server).
The problem is ID Column table on SQL Server that link with ODBC link table is set identity.
So I can'...
1
vote
0
answers
12
views
MSAccess two page forms with different headers
Microsoft Access form. I have two tables with mega data. I have created a report the fields where the first page includes all the information from a contractor from table1 (name, address, contract ...
0
votes
1
answer
54
views
Problem with INSERT INTO SELECT SQL (Access, VBA)
"Number of query values and destination fields are not the same" on my command:
INSERT INTO TransactionHistory (
[TransactionNumber]
,[UniqueID]
,[Replica_UniqueID]
,[...
0
votes
1
answer
62
views
Using SQL inside vba to display in cells
Trying to run this code for it to display the DemandNumber * PartNumber. Keep getting "Run-time error '1004': Application-defined or object-defined error.
When going to the debugger it is ...
0
votes
1
answer
85
views
GetOleDbSchemaTable - Can get sheet name with .xlsx but not with .xls using Microsoft.ACE.OLEDB.12.0
I'm updating BizTalk 2016 to BizTalk 2020 on entirely new servers, and have installed the Access OleDB provider. It seems to work with the .xlsx file, but for the .xls file, it's not finding the ...
0
votes
1
answer
49
views
Creating a temporary table and then editing it
I am trying to create a temp table, append some fields to it and then rename it to original table. I am using the code below but not sure if it is working as intended. Sometimes the result exists and ...
0
votes
1
answer
499
views
How to remove duplicate records but keep one in Microsoft Access?
I am using Microsoft Access to keep my database.
I created a course development database in Microsoft Access.
The original dataset includes information on who developed each course, with one person ...
0
votes
0
answers
19
views
Identify Access Records with Alpha Character in String
I need to identify records with a FacilityTypeID starting with an alphabetical letter in a string as these are the only records that I want to use in my results. Example:
ContractID
FacilityTypeID
...
0
votes
0
answers
129
views
Access TransferSpreadsheet Export with Run-time Error 3434
Hi Friends at stack overflow
I find my self dealing with a very peculiar error.
In access, I click on a button and a table is exported to an excel file.
I manipulate this excel file and add more data, ...
0
votes
0
answers
43
views
VBA Access creating a Excel Template and adding a macro to Populate date whenever a cell has values
In access I have access vba create a excel object to open a record set and paste it into the excel object and save it to a folder on my computer. My question is, is there a way to add a macro to the ...
0
votes
0
answers
136
views
To filter data in table using a Access form and selecting a value in combo box
I'm working on Access Tracker, basically it has a table and form. The column headers of table are parent entity, subs, Compliance etc., the combo boxes in form are parententity2, subs2, compliance2, ...
0
votes
1
answer
22
views
Entering Project Number not working/But Selecting project from drop down list work properly
when try to select project by entering number its pop up the MsgBox, but its working properly when click the Drop Down list.
When add project number its select full name and everything but when hit ...
0
votes
1
answer
67
views
How to perform a left inner join or similar operation using VBA and MS-ACCESS to join based on shared ID key in four excel sheets?
I have an ms-access button that I use to grab a specific excel file and behind that button is a vba script. I treat the file like an object. This excel file has 9 sheets. Only 2,3,4,5 I am concerned ...
0
votes
1
answer
90
views
Select and play a video in Access using a Subform
I am working on a DB that links users to training videos.
The primary Form "2_CCC" has the Windows media player plugin. That works.
The Subform has all the video files.
The issue is that I ...
0
votes
0
answers
30
views
I want to build a query with parameters that allows me to select a column from a specific table from a drop down
I have a budget table with columns labeled January_Due, February_Due, March_Due, and so on. I want to build a query that will allow me to enter a parameter via drop down menu "January", &...