ms-access-2010

How to disable access security notice “A Potential security concern has been identified”

*爱你&永不变心* 提交于 2019-11-27 06:08:05
问题 i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning is there any way to disable this message from appearing to the users thank you 回答1: You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then

Achieving ROW_NUMBER / PARTITION BY in MS Access

99封情书 提交于 2019-11-27 05:29:35
How to achieve the Row number over partition by in the MS access .I Google but cant find information can you please how to do this RowNumber Over(Partition by city Order By EmployeeID) My Data looks like this DOC_TYPE Ino 3a 1800xxc1 3b 1810xxc2 3c 1700xxc3 3a 1700xxc4 3a 1800xxc5 3a 1800xxc6 3b 1800xxc7 I need Like this DOC_TYPE Ino Seq 3a 1800xxc1 1 3a 1700xxc4 2 3a 1800xxc5 3 3a 1800xxc6 4 3b 1810xxc2 1 3b 1800xxc7 2 3c 1700xxc3 1 this is my Query SELECT t1.RT_TAXCODE, t1.INV_NO, COUNT(*) AS Sno FROM GroupByTAXCODE AS t1 INNER JOIN GroupByTAXCODE AS t2 ON (t2.RT_TAXCODE = t1.RT_TAXCODE) AND

Access 2010: Syntax error (missing operator) in query expression

大憨熊 提交于 2019-11-27 05:17:35
I want to have three tables in my sql query but I get an error message. I have this sql code: SELECT warehouse.expiry_date, pharmacy.expiry_date, drugs.active_substance, drugs.strength, drugs.strength_type, drugs.dosage_form, drugs.minimum_quantity, SUM(warehouse.in_quant)+SUM(pharmacy.in_quant)-SUM(warehouse.out_quant)- SUM(pharmacy.out_quant) AS Total_available_stock FROM drugs as a INNER JOIN warehouse as b ON a.ID = b.drug_id INNER JOIN pharmacy as c ON b.drug_id = c.drug_id GROUP BY warehouse.expiry_date, pharmacy.expiry_date, drugs.active_substance, drugs.strength, drugs.strength_type,

MS Access Date triggers emulation

混江龙づ霸主 提交于 2019-11-27 04:52:35
问题 I am completely new to Access (have some experience with SQL server). I am not sure if its even possible in MS Access 2010: if for one of table.dateField is today or earlier - need to send email about that record. Extensive digging doesn't bring any results, seems its not feasible, but wanted group opinion on that. Thank you 回答1: If you are meaning that you need to execute say a query on a table, and that query will manage the execution of sending an email in respect of each offending row -

Increase Ms Access Insert Performance

▼魔方 西西 提交于 2019-11-27 03:44:28
问题 I am using MS Access 2010, split in front end / back end; on a network drive (WAN) with 16+ table with one table of users (1.3 Million) which is mostly used for user information and is not insert heavy and few other tables, which will receive upto 2000+ inserts daily . I have been able to optimize most of the read/select queries. Although 1 chunk of my code looks as below. This can be used for upto 2000 iterations daily. Do Until rec.EOF Dim vSomeId As Integer vSomeId = rec!SomeId 'StrSQL =

Cannot edit or re-save an existing event-driven Data Macro in Access 2010

耗尽温柔 提交于 2019-11-26 23:41:59
问题 (This is a follow-up to an answer from an earlier question here.) I have an Access 2010 database file containing a table with a Before Change Data Macro: I can open the table in Datasheet View and add rows, and the Data Macro behaves as expected. However, if I open the table in Design View, open the Data Macro for editing, do something trivial like click the [+] beside one of the macro steps to expand the details, and then try to save the "changes" I get the error The 'LookUpRecord' macro

How to convert a text field in an Access table to a rich text memo using VBA

╄→尐↘猪︶ㄣ 提交于 2019-11-26 23:39:35
问题 My users have a number of backend .accdb databases (which I can't access directly). I need to code some vba to modify the structure of some of the tables in these databases to convert Text Fields to Rich Text memos. (The fields already contain text including Access "rich-text" i.e. the relevant html coding). I need to: Modify the field to be a rich text memo. Modify the existing contents (if applicable) to display correctly as Access rich text in forms, datasheets and reports. I can write a

Automatically generate Date + 4-digit sequence number for ID in Access 2010+

此生再无相见时 提交于 2019-11-26 23:31:56
问题 I need to automatically generate a 12 character value for my Business Key. Without any user interaction. 8 character -> Today Date (yyyymmdd or ddmmyyyy). + 4 character -> Sequential Number (0001,0002,0003). The Sequential Number must reset on each new day. Is it possible to do this in Microsoft Access 2010+ without any coding involved? 回答1: Since you are using Access 2010+ the best way to accomplish your goal would be to use a Before Change data macro like this To create the Before Change

How to install visual studio 2010 setup project with MS Access database on a computer which is not having Office 2010 installed?

China☆狼群 提交于 2019-11-26 23:25:25
问题 I am developing wpf application in C#. I have successfully created the setup project for wpf application in visual studio 2010. I have used MS Access 2010 as a database. It install fine on all computers. But on some computer there is no Microsoft Office installed and on some computer there is lower version of MS Office like MS Office 2003. When I install my application on these computers it gives me connectivity issues. Can you please tell me what should I need to do ? Should I need to

Prevent enabling of shift bypass - Access 2010

廉价感情. 提交于 2019-11-26 21:45:34
问题 I am trying to prevent database users from being able to view the linked tables in the navigation pane of an Access 2010 database. I have hidden the pane and disabled the F11 key. I am aware that you can disable the functionality of the SHIFT key that permits you to bypass the access start-up options as per this article. My question is whether it is possible to prevent a user from re-enabling the shift key either from within the database itself or remotely via another database. If this is not