ms-access-2010

Using MS Access as a front-end to MySQL db

柔情痞子 提交于 2019-12-01 12:22:55
问题 I am using MySQL DB for my android application. I have installed phpmyadmin on my Ubuntu LAMP server and using it to access my DB. Is there any possibilities to access the DB using MS access 2010, as I need to do perform modifications on a regular basis to my DB 回答1: If the aim is to change the data and not the structure, using MS access is a good solution, as you can edit anything in linked tables very efficiently with litlle setup efforts. To achieve this, first you need to download and

Convert a SQL subquery into a join when looking at another record in the same table Access 2010

十年热恋 提交于 2019-12-01 11:51:34
I have read that Joins are more efficient than subqueries, I have a query that is extremely slow and uses lots of subqueries, therefore I would like to improve it but do not know how. I have the following tables: People \\this table stores lists of individual people with the following fields ( ID, \\Primary Key aacode Text, \\represents a individual house PERSNO number, \\represent the number of the person in the house e.g. person number 1 HRP number, \\the PERSNO of the Housing Reference Person (HRP) the "main" person in the house DVHsize number, \\the number of people in the house R01 number

runtime error 2448 you cant assign a value to this object

徘徊边缘 提交于 2019-12-01 10:50:18
I am using David-W-Fenton's answer to this question to try to allow users to print a report when they click on a control, but I am getting the following error message: runtime error 2448: you cannot assign a value to this object. The line of code triggering the error is: Me.txtPageTo.Value = numPages Here is the full code of the OnLoad event handler for the form: Private Sub Form_Load() Dim varPrinter As Printer Dim strRowsource As String Dim strReport As String If Len(Me.OpenArgs) > 0 Then strReport = Me.OpenArgs Me.Tag = strReport For Each varPrinter In Application.Printers strRowsource =

Convert a SQL subquery into a join when looking at another record in the same table Access 2010

徘徊边缘 提交于 2019-12-01 10:38:14
问题 I have read that Joins are more efficient than subqueries, I have a query that is extremely slow and uses lots of subqueries, therefore I would like to improve it but do not know how. I have the following tables: People \\this table stores lists of individual people with the following fields ( ID, \\Primary Key aacode Text, \\represents a individual house PERSNO number, \\represent the number of the person in the house e.g. person number 1 HRP number, \\the PERSNO of the Housing Reference

Access Services and SharePoint 2010 - Need Info

こ雲淡風輕ζ 提交于 2019-12-01 09:50:21
问题 I've been asked to research the ability to publish Access solutions directly to SharePoint as demonstrated in the demo below. http://channel9.msdn.com/shows/Access/Microsoft-Access-2010-Demo/ I'm going to keep searching via Google / Bing - but I thought I'd check here to see if anyone has any good links to information on this feature. At first glance it seems like I'm getting alot of brief blog entries with links to the SP2009 conference or to the above video. 回答1: Yes, there's some excellent

runtime error 2448 you cant assign a value to this object

独自空忆成欢 提交于 2019-12-01 08:17:56
问题 I am using David-W-Fenton's answer to this question to try to allow users to print a report when they click on a control, but I am getting the following error message: runtime error 2448: you cannot assign a value to this object. The line of code triggering the error is: Me.txtPageTo.Value = numPages Here is the full code of the OnLoad event handler for the form: Private Sub Form_Load() Dim varPrinter As Printer Dim strRowsource As String Dim strReport As String If Len(Me.OpenArgs) > 0 Then

Record is too large MS Access runtime error

大憨熊 提交于 2019-12-01 06:33:43
问题 I have an abnormally large table for one of my applications in MS Access. It violently breaks some rules of normalization, but is otherwise fine for this small application. It has ~100 fields(columns). I have read the limitation specifications here but can't see where I violate any of these. Most of the fields are text fields, and range from a couple words to a couple of sentences. My questions are: Is there a way to get a more descriptive error than "record is too large", so that I can

When inserting data from a query to a table, does the query run for each record inserted?

耗尽温柔 提交于 2019-12-01 06:29:51
I'm inserting data problematically into tables. When I do this from another table, it's swift, only slowed very slightly if there are a lot of records. Even then, it's a matter of seconds. When I insert from a query to a table, it goes into minutes - roughly a minute for every 1,000 records inserted. The source query itself, when just run as a select query, takes maybe 1 - 2 seconds. Is the query running for every record that's inserted? I'd hoped that it would run once for the whole data set. Or is there something else that's causing the function to run so slowly when compared to inserting

When inserting data from a query to a table, does the query run for each record inserted?

流过昼夜 提交于 2019-12-01 04:42:41
问题 I'm inserting data problematically into tables. When I do this from another table, it's swift, only slowed very slightly if there are a lot of records. Even then, it's a matter of seconds. When I insert from a query to a table, it goes into minutes - roughly a minute for every 1,000 records inserted. The source query itself, when just run as a select query, takes maybe 1 - 2 seconds. Is the query running for every record that's inserted? I'd hoped that it would run once for the whole data set

copy formatted text into access using vba

人走茶凉 提交于 2019-12-01 04:18:37
I need to save formatted text from Word in an Access Database. So far I've managed to figure out how to store formatted text in an Access Field (Create a Memo Field in a Table and set the Text Format as Rich Text). Searching SO I have not yet come across a solution as to how to transport said text from word into Access. I know that it is possible, because you can do it by simply copying and pasting the information if you are doing it manually. My question, how can I copy formatted text from word into a field in a table using VBA? Experimentally I created the following to test this. So far