Questions tagged [ms-access-2010]

Microsoft Access 2010 Personal Relational Database Management System.

ms-access-2010
2,034 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
433 views

Access Report not display data from data source

I have built access report, when I bind to one specific column then whole report is not displaying data but when i change to another field, report is working fine. I check the datasource and it is ...
Maqsood's user avatar
  • 379
3 votes
1 answer
2k views

Enable identity insert is not working when importing data

I am trying to import many tables from access db to MS SQL server using the import wizard. Some rows in source tables has been deleted so the sequence of IDs are like this: 2,3,5,8,9,12,... but when ...
Navid's user avatar
  • 245
3 votes
2 answers
216 views

Runtime error 3075 missing operator

When I am using ms access 2007 it works perfectly. I swtich to ms access 2010 and now it does not work. DoCmd.RunSQL ("INSERT INTO Pending_Orders (Customer, ItemNumber, Description, Qty, [Order #],...
Keneth Walters's user avatar
3 votes
1 answer
256 views

Control of listview column order

I have a form with quite a few controls on it. The data presented is selected by a query. At occasions I want to change from form view to list view by VBA, however MS Access seems to have it's own ...
OlManVBA's user avatar
3 votes
1 answer
3k views

How do I delete rows from SQL Server tables using Access & ADO?

I am converting an Access 2010 database from using DAO in the native database to using SQL Server 2012 accessed by ADO. Everything has gone flawlessly without too many code changes... except for one ...
ChrisC's user avatar
  • 31
3 votes
0 answers
2k views

FileDialog to return entire path from USB device in VBA

I am attempting to use the FileDialog object to return a filepath of a picture on a phone (this has also caused problems with a digital camera), connected via USB. The simplified example is: Sub ...
enderland's user avatar
  • 14k
3 votes
1 answer
108 views

How to Put Access Table Data on Optical Media?

I have a college capstone project that involves creating an Access database table of movies and putting that data on an optical disk. My proposed solution is to export the table in some form (that I ...
Opcode's user avatar
  • 53
3 votes
2 answers
1k views

How to generate email drafts without Outlook

I am building an Access form that will be deployed on Windows machines without Office. To run the Access db, the Office 2010 Runtime routine will be installed. Thanks to this handy free download, ...
PowerUser's user avatar
  • 11.7k
3 votes
2 answers
6k views

Run-Time error '-2147024703 (800700c1)' when running Access 2010 with SQL Server 2008

I have an application written in MS ACCESS 2007 using VBA, connecting to an SQL Server at the back end. Both Access and SQL Server are running locally. My machine runs Access 2010 and MS SQL Server ...
mikimr's user avatar
  • 311
3 votes
1 answer
4k views

Microsoft Access 2010 Link Data Service to SOAP web service

I have been tasked with calling a web service from Microsoft Access 2010 when a row is inserted into a table. As far as I can work out, with Access 2010 you can use "Link Data Service" and aparently ...
Kevin Reece's user avatar
2 votes
0 answers
187 views

LinkTable is not editable in MS Access

I have MySQL table which is linked to access using odbc(Mysql ODBC connector 8.0 32 bit). Initially one of the column has length of Varchar(1000) and everything works fine. However now I need to ...
Maqsood's user avatar
  • 379
2 votes
0 answers
85 views

Write conflict when updating main form from pop-up

I have a 'keyboard' created in Access used to input data in the main form using Google Remote Desktop from an Android phone (most input will be done locally using a computer and normal keyboard). ...
Sputnik's user avatar
  • 43
2 votes
2 answers
36 views

Need to create a SQL statement in MS Access (2010) to count multiple records in a range

I have two tables in MS access. Need to create a table that lookups the ranges in table1 and counts the records in table2, within that range. Table1 FROM TO 00100000 00799999 00800000 ...
F Hortas's user avatar
2 votes
1 answer
436 views

FDQuery parametres in Delphi 10 seattle

I have this query : SELECT * FROM Vente WHERE (DatePart ("d", Vente.DateDebut)=01) and (DatePart ("m", Vente.DateDebut)=06) and (DatePart ("yyyy", Vente.DateDebut)=2017); This query is working fine ...
Ilyes's user avatar
  • 14.8k
2 votes
1 answer
1k views

VBA Email Loop to send a report in Microsoft Access

Please help I've been struggling with this for a week now. There’s a report I run in Microsoft Access,I’m trying to create a button that will send 8 reports to 8 different people without me having to ...
ang's user avatar
  • 21
2 votes
0 answers
161 views

Handling ms access lookups in mysql

I'm migrating a system from access to mysql. I have migrated all the tables and data successfully to mysql. But there is a problem in a specific part. In Access, you can set up lookups for columns. ...
Silencer310's user avatar
2 votes
1 answer
482 views

View Back end Connections to Access DB from Excel

I Have a database that many people across my workplace have excel files with linked tables etc. There are times where it is critical I have exclusive access to the DB and it is not feasible to track ...
scott's user avatar
  • 153
2 votes
0 answers
112 views

How can I run vb.NET code from within Access 2010 (vba)? Accessing win 32 OpenSqlFilestream API through vb.NET, within Access 2010

thanks for your time good people! I am adapting an Access 2010 client to work with a new SQL Express Server 2008 back end. The back end is up and running. No problems there. Filestream is configured ...
Patrick Quigley's user avatar
2 votes
1 answer
42 views

Use text from record to paste into an Access form controlbox

Based on a user's job ID number, I create a recordset of an ID with its different unit types (think pipe sizes) and unit (think footage of pipe). Each unit type record already has the name of the form ...
Dan's user avatar
  • 21
2 votes
2 answers
86 views

Counting number of people in my query

I have a query that finds sports peoples best times in racing etc. My query basically filters out all races apart from personal best times. I want to show the % of races they have completed over ...
dmorgan20's user avatar
  • 353
2 votes
1 answer
1k views

Using checkboxes for multiple selection in a multi-user environment

Forgive the novice nature of this question, I am not an Access expert. A colleague has created a database for our team. Everything works great on the whole, the database is split out and we have our ...
A Rogerson's user avatar
2 votes
2 answers
123 views

WHERE clause makes LEFT JOIN work like an INNER JOIN

I am trying to left join three tables with a where clause. In the first example the query results in an inner join. If I take out the where clause it results in a left join, but in includes records ...
Larrythebruin's user avatar
2 votes
1 answer
106 views

Aggregate calculations from 2 separate tables

I have a SALES_RECEIPT table and a (sales) RETURNS table that both have REP_ID as a foreign key from the SALES_REP table. I want to sum total sales and total returns for each sales rep and calculate ...
Code Mechanik's user avatar
2 votes
1 answer
2k views

Adding a new column to an existing table in an access ODBC database from R

I am trying to add a new column to an existing table in access using R. I cannot figure out the way to do it. This is what I tried: install.packages("RODBC") require(RODBC) channel <- ...
tximet's user avatar
  • 31
2 votes
0 answers
639 views

VBA/SQL missing operator in query expression 'Count (distinct)

I have a query that is inserted in my VBA code and I'm getting a similar missing an operator message. Here is the query: SELECT mtn.* FROM ( SELECT PATIENT_KEY, RENDERING_PROVIDER_KEY FROM [...
ats00's user avatar
  • 41
2 votes
0 answers
125 views

SETING CONTEX_INFO() USING MS ACCESS VBA TO - SQL Server

If you please help me I am trying to set CONTEX_INFO() B from MS Access but it's returning NULL. This is my function: Sub Connection() On Error GoTo Err_End Dim cnn As ADODB.Connection Dim rs ...
emilios's user avatar
  • 375
2 votes
0 answers
374 views

Caching Causing Error on Linked Tables

I've built a multi-user database which uses SharePoint lists as linked tables and a font-end app in Access. We have about 40 users in total. Everything works great, but the lists are becoming quite ...
Rich's user avatar
  • 21
2 votes
0 answers
150 views

error 2110 setfocus on bound combobox

I use the following code on the click event of a button on my form: ... 'Make the appropriate location appear in the combobox For i = 0 To cboLocations.ListCount - 1 If Me.cboLocations.Column(0, i) ...
Alan's user avatar
  • 822
2 votes
0 answers
87 views

Error with blocking table in Access

I have some problem with blocking table. I have a vba code. Public Function delete_fk() DoCmd.Close DoCmd.RunSQL "alter table transform_tables drop constraint fk_trans;" End Function This ...
Alexey Baydin's user avatar
2 votes
1 answer
177 views

Code works every other time in VBA

The code below is programmed to retrieve data from a MS ACCESS 2010 Table and put it into a MS WORD 2010 Form b. The code works fine every time and throws NO error but opens the document and puts the ...
just me's user avatar
  • 41
2 votes
0 answers
237 views

ms access create form with vba

bfollowing data structure: table categories: ID | description table questiontypes: ID | description [text, boolean, single choice] table questions: ID | categoryID | questiontypeID | description ...
lis's user avatar
  • 680
2 votes
1 answer
63 views

Issue with Data passing from one form to another form in MS Access VBA

Can anyone solve my issue Form: SB_1 (this is a Customer Invoice creation form) Form: Add_NewRelations (this is a Customer details adding form) I have used a VBA code in Form: SB_1 on a cmd (Button)...
Sandhya SS's user avatar
2 votes
1 answer
110 views

Filter by date selected by user

I am trying to create a report in MS Access based off a table, one of these tables has a column full of dates. I am making a query to generate the report but it only shows for the month and year the ...
Ben McGarry's user avatar
2 votes
0 answers
153 views

Making an Access Filter-Macro Based on Text-Field Input

I've been wracking my brains on this simple macro for days and troweled almost every site and forum for an answer, to no avail. Thus, I come to the gurus of stackOverflow for my salvation: I'm ...
F.Tisch's user avatar
  • 21
2 votes
1 answer
6k views

Error 2427 "You entered an expression that has no value." in Access form (VBA)

I am using Access VBA, and I have two forms (form1 and form2), in form 1 I have a listbox control (form1.modifiable49). I choose a list item and with a button control click I open the second form (...
Yahia El Haddad's user avatar
2 votes
0 answers
1k views

UNC File Path is not working as connection string for an access database located on a network drive

I am attempting to insert new records into an access 2010 database that is located on a network drive with a windows form app developed in Visual Studio 2010 using vb.net. When using the mapped drive ...
Mike's user avatar
  • 43
2 votes
0 answers
198 views

Using Form.Bookmark to test if a search is successful seems to affect the search itself

I am implementing a Search facility in my application that will be better integrated with the UI than the standard Access search facility. When the user invokes the search facility (keystroke, menu ...
ColeValleyGirl's user avatar
2 votes
2 answers
1k views

Access 2010 - combobox - unbound form - displaying data from an existing record

The problem I am having is displaying the correct information in a combobox on an unbound form when a users views/edits data. The table that populates the combobox: tblLocation idLocation ...
kaplaba's user avatar
  • 21
2 votes
3 answers
61 views

how to count returning zero? ms sql

I'm having some trouble running something basic in ms sql server. I've tried several ways, some found on forums, but always gives me errors. Imagine I have a table with hospital data from several ...
Clarisse Resende's user avatar
2 votes
0 answers
106 views

Chicken or Egg... Define Engine before Export to MySQL from Access, how?

In a bit of a quandary here, having been trying many ideas I think I'm stuck with a several hour export. I have a handful of queries that export out to MySQL from Microsoft Access every 24 hours, ...
Palendrone's user avatar
2 votes
2 answers
741 views

Publishing SQL Server database in Access to Sharepoint

In my project I need to publish an Access database into Sharepoint. I need to add a web form into it. Is it possible to add a WebForm that can be shown in the Sharepoint site, using ODBC(Database from ...
Whencesoever's user avatar
  • 2,246
2 votes
1 answer
2k views

Select TOP N not working in MS Access 2010 Query

Its not returning me 1 record as expected. SELECT TOP 1 ApplicationVersion FROM [All Documents] ORDER BY Iif(IsNumeric([ApplicationVersion]), Clng([ApplicationVersion]), 0) DESC Where I'm going ...
Manish's user avatar
  • 1,316
2 votes
1 answer
543 views

Creating Mock Recordset in VBA

I have a function in my VBA code which takes a recordset as an argument and I want to write a test for it without having to access the actual database. Any ideas on how I would go about this? ...
Ethan's user avatar
  • 2,784
2 votes
0 answers
908 views

Use MS Access 2010 to attach a file in MySQL database

I checked for few days how to do this and I'm getting close to the solution, but I still can't find how to do it. Back-end is MySQL and I have a table called Product with different fields, one of ...
EricPb's user avatar
  • 570
2 votes
2 answers
830 views

Trouble running Excel Add In macro from MS Access 2010 procedure

I'm using VBA code in MS Access to export a query as an Excel workbook. I have a separate procedure that should open the workbook from MS Access and run a macro to format the workbook. The macro is ...
David Alan Condit's user avatar
2 votes
2 answers
672 views

Access crash when hitting breakpoints

I've got a project in Access 2010 that runs without issues. That is, until I add a breakpoint and I try to debug code. As soon as it reaches the first breakpoint, the VBA project opens up and about ...
Cameron Castillo's user avatar
2 votes
4 answers
4k views

How to work around Access VBA error 3188

Having converted a number of fields in a table tblSource to Rich Text memos, I'm getting an error 3188 in the following circumstances. Main form has a subform open (frmSource) bound to qrySource. ...
ColeValleyGirl's user avatar
2 votes
1 answer
7k views

MS Access conditional formatting values stored in field of table?

I have searched through various forums to find an example of a conditional formatting that uses the values for a background color which are stored in a field in the table. My work uses monthly ...
user2978151's user avatar
2 votes
1 answer
2k views

Why would Access 2010 not trigger the form unload event when browseto is invoked from subform, instead of parent form?

As stated, this is an Access 2010 .accdb. I have a main, navigation form: frmNav. On frmNav I have a Navigation subform control: NavigationSubForm. I use docmd browseto to move between tabs on ...
rudelerius's user avatar
2 votes
1 answer
1k views

Microsoft Access: running "safe" mode (i.e. allow changes to be reverted)

I'm using Microsoft Access as a means of managing data (that used to be stored in spreadsheets) in a more tabular, orderly, and logical manner. Everything seems to be working good for my client, but ...
matt's user avatar
  • 2,967

1
2 3 4 5
41