ms-access

Access Stuck Using Security Workgroup

十年热恋 提交于 2020-07-22 19:29:33
问题 My boss fancies himself an IT genius, and has created a number of databases, all secured with Access' user-level security MDW feature. Now for the MDW feature to work, you either have to craft shortcuts that point to the MDW, or you have to configure the workstation to use that MDW as default. He chose the latter. Now, when opening MY unsecured DBs, or even trying to create new blank ones, it wants me to login to his MDW. This cannot stand. How can I reconfigure Access to use the default MDW

Access Stuck Using Security Workgroup

好久不见. 提交于 2020-07-22 19:26:58
问题 My boss fancies himself an IT genius, and has created a number of databases, all secured with Access' user-level security MDW feature. Now for the MDW feature to work, you either have to craft shortcuts that point to the MDW, or you have to configure the workstation to use that MDW as default. He chose the latter. Now, when opening MY unsecured DBs, or even trying to create new blank ones, it wants me to login to his MDW. This cannot stand. How can I reconfigure Access to use the default MDW

combo box to select value w/ multiple duplicates & populating textbox in form w/ value from each duplicate record, line by line?

假装没事ソ 提交于 2020-07-22 10:53:32
问题 I'm currently trying to do as said in the title, but cannot find a reliable and working vba code to use. The database contains 2 forms and 2 tables. 1 table needs 1 unique record per name with multiple ' description values ', while the other has multiple duplicate records per name with only 1 ' description value ' each. The ' unique name ' table needs to have a single record containing all the ' description values ' from the ' duplicate name ' table's multiple records' ' description value '.

How to Handle a Popup, Modal, Resizable form

ε祈祈猫儿з 提交于 2020-07-22 09:29:28
问题 I need to have a popup form resizable for users whose screen is not as large as others - setting the form to Popup and Modal and BorderStyle Resizable has one major limitation - the code in the form that launches the popup now does not wait for the form to return. So how does one wait for a form to be made invisible? I tried looping with sleep and doevents, but that makes the popup form not very responsive and chews up cpu cycles. I have tried setting the form.gotfocus event of the launching

How to Handle a Popup, Modal, Resizable form

主宰稳场 提交于 2020-07-22 09:29:18
问题 I need to have a popup form resizable for users whose screen is not as large as others - setting the form to Popup and Modal and BorderStyle Resizable has one major limitation - the code in the form that launches the popup now does not wait for the form to return. So how does one wait for a form to be made invisible? I tried looping with sleep and doevents, but that makes the popup form not very responsive and chews up cpu cycles. I have tried setting the form.gotfocus event of the launching

Dynamically Coding Filters on Access Form

邮差的信 提交于 2020-07-22 08:38:04
问题 I have a continuous form in access with 3 combo boxes in the header to filter the data. Currently I have a fairly lengthy nested IF to to check how many combo boxes are being used and cover all 8 permeatations. With 3 boxes it's not too bad but I may add a 4th or even 5th in which case it is going to get ridiculous. Is there an easier way to set up combo box filters for continuous forms? Current Code Private Sub filters() Dim fstr As String, rgS As String, piS As String, hcS As String rgS =

Get the following record in query

江枫思渺然 提交于 2020-07-22 06:02:30
问题 If we have a table called Activity and has rows[ActivityCode and StartTime] for example ActivityCode-----StartTime<BR> Lunch------------1200<BR> MathClass--------1300<BR> EnglishClass-----1500<BR> EndOfSchool------1700<BR> And now I want to make one SQL Query to display as follow: ActivityCode-----StartTime-----EndTime<BR> Lunch------------1200----------1300<BR> MathClass--------1300----------1500<BR> EnglishClass-----1500----------1700<BR> EndOfSchool------1700----------1700<BR> I am not

Access 2013 Custom Images for the Ribbon

不问归期 提交于 2020-07-22 05:29:07
问题 I've started using the Access Ribbon for menus in my database, but now I'm afraid I've come to an impasse. I'd like to use my own images for the icons in the ribbon, but am having loads of difficulty accomplishing this task. The code is just below, but the error message I keep getting is that Access cannot run the macro or callback function 'getImages'. Ribbon xml Code: <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon startFromScratch="true"> <tabs> <tab id=

How to use DAO.Recordset to update a table using a non-Updateable Query

走远了吗. 提交于 2020-07-22 05:18:18
问题 I have a fairly small table tblFunding with 20 records. I want to update its field Payment using results of a non-updateable query ie: "SELECT UserName, Sum([Payment]) As Payment FROM tblFundingMain WHERE (((DateDiff('m',[PaymentDate],DateSerial(Year(Date()),1,1))) Between -7 And 4)) GROUP BY UserName") I know it is bad practice to store this type of data but the user wants to have a glance at the data from time to time since the table is bound to a form for his convenience. We came out with

Access Get subfolder of shared folder meetings

有些话、适合烂在心里 提交于 2020-07-22 03:44:24
问题 I have the code below that should let me retrieve the meetings from a shared sub calendar, but it doesn't work. If I only try to access the main shared calendar it works perfect, but not for the sub calendars.. could someone point me to the right way? Public Sub getCalendarData(calendar_name As String, sDate As Date, eDate As Date, Optional recurItem As Boolean = True) On Error GoTo ErrorHandler Dim oOL As Outlook.Application Dim oNS As Outlook.Folder Dim oAppointments As Outlook