I searched the forums for this, but only ran across this (http://www.access-programmers.co.uk/forums/showthread.php?t=98554) reference to the access 97 method. Could you please let me know what the access 2003 method for disabling this close box is or provide me criteria to search the access help files?
I have a form that allows me to update entries in a table. When I select the line I need to update and hit the "edit" button I get a run time error '2164' You cant disable a control while it has the focus. when I debug the line in the code that is highlighted yellow is Me.cmdEdit.Enabled = False.
I developed the database in access 2013, and now I am forced to run the database on a computer that has Access 2003. I have changed the database base to access 2000-2003.
i was wondering if anyone might be able to help me out here. I've been spending hours but to no avail. It seems to be a very trivial problem but i'm just out of luck.
I've been getting this pop-up message everytime i try to open up an access application such as .mdb files.
Open file - Security Warning Do you want to open this file ... two buttons: Open & Cancel
My question is if there is a way to turn it off or disable this warning from popping up when opening an access application.
Hi guys, I have a huge problem with a table I'm currently making and I was hoping you could help.
I have created a field in one of my tables using a Combobox lookup that only allows users to enter one of two options. What I want to do is restrict the other fields that a user can enter data into based on the their selection in the lookup field.
i.e if they select the first option then they can see and enter data into a few additional fields (but not others). Likewise if they select the second option they see/dont see other fields.
My application retrieves a recordset with some records. Each record is presented separately on a form and there is a "next" button to move on. For each record it allows pressing a button on the form for activating MS Word that in turn opens a relevant document.
The problem is that while the MS Word document is open, mouse wheel scrolling scrolls the recordset in the MS Access application, so to move to other records, up or down. It is strange since the MS Word application is the active window at that time.
I would like to disable the mouse wheel for the MS Access while keeping it active for the MS Word. So a solution of disabling the mouse wheel totally is not what I'm looking for.
Hi guys, I have a huge problem with a table I'm currently making and I was hoping you could help.
I have created a field in one of my tables using a Combobox lookup that only allows users to enter one of two options. What I want to do is restrict the other fields that a user can enter data into based on the their selection in the lookup field.
i.e if they select the first option then they can see and enter data into a few additional fields (but not others). Likewise if they select the second option they see/dont see other fields.
Hi. Lets say i have a (Yes/No) combo box and a text box. I have it so if my combo box says Yes the text box must become enabled so i can type in it. The problem comes in when I goto a new record, the combo box is still enabled. I have tried putting the text box to disabled in form_load, but then when I go back to view other records the text box is disabled and the combo box is already set to Yes.
How do i overcome both these problems at the same time ??
I am wondering if there is a way to disable the "saveas" in excel from access with vba? I have the following code:
Private Sub cmdReport_Click() Dim path As String Dim XL As Object
[Code]....
Which I have used in another excel file. But I can't use that now. The file I am opening from access is a workbook generated from an excel template, and I have yet to find a way on how to transfer this Workbook_BeforeSave sub from the template to the new workbook.
disable the data picker for every field on every form in my application - without doing it the long winded way of manually turning it off for every field?
I just published an access database to sharepoint. However, after I set some user as contributor, those users can see structure of my database, and export tables to excel directly. Is there anyway that we can remove the access to "Setting"?
I have an application created in A2003, but my client's machines nearly all use A2010 runtime. How I can disable the Date Picker completely on all forms as I have no need for it. Obviously I can't access the 2010 property sheets to disable it that way.
I have a button on a form, when it is clicked it opens a video file located in a folder on the local computer. Each time the button is clicked a security pop up appears that says "Opening file://C:lahblahyadayadaFile.mp4 Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source. Would you like to open this file?" options are open or cancel. How can these messages be turned off?
I have already played around in the trust center of Access 2010 and changed the "trusted documents", "trusted locations", and "message Bar" tabs with no results. Do I have to play with regedit in windows to get rid of these pop ups? Or can I somehow use VBA code to disable them?They are just a nescience.
I have a form that has a listbox and a subform. The listbox lists names of events, start date and end date. The subform bellow reveals names of participants to the event that is clicked in the listbox. Against each participant's name is a button to delete the participant.How can I hide or disable the delete button if the start date of the event is past?
I have an Access database with user access accounts enabled so users have to log in. When the database opens, it displays a switchboard and the database window is not visible - so there's no way for users to directly access tables etc.
I know there is a workaround to this - if you hold down shift as the database loads, the database window still opens up. Is there a way that I can prevent this from happening, whilst still leaving a way for me to access that window to allow me to manage the system?
Hi all I have a tab control on a form, the tab control has 5 pages.
How to have a printout of FIRS record of Page1 follows by Page2 then Page3 then .....then printout of SECOND record of Page1 follows by page2 then page3 then......
I am trying to write a code that will run through one of my tables and copy a value from that table and then open SAP and run a search of the value, then save an excel copy of the results of the search, and repeat for each value in the table.
I am not asking for the code for the entire thing, just the code to access SAP similar to the way you open up other applications like internet explorer.
I am new to access. When I try to create a control with control wizard, it advises that it will embed a macro that will not run nor be editable in Access 2003 or prior... What do I have to do to get a control placed that CAN be run by those...? I do not know how to write code, and am really just feeling my way thru this...thus far unsuccessfully, I might add. More on that in the Forms forum...
This is just one of a billion questions I am slowly exploring.
I have a tab control on my form. In the change event of the tab control I am trying to tell it to move to the first field on each page of the tab control whenever the page no. changes:
Private Sub TabScreenAssess_Change() 'when a new page gets the focus, set the focus to the first control on that page Dim PageNo As Integer
PageNo = Me!TabScreenAssess.Value Select Case PageNo Case "0": gynFemale.SetFocus Case "1": tbPriorHx.SetFocus Case "2": suSubUseAssess.SetFocus Case "3": mhaCognitiveFunct.SetFocus End Select
End Sub
This works when I am tabbing normally through the controls. But when I click back to the first tab, it says "Access can't move the focus to the control gynFemale" (gynFemale is the first control on the first tab.) It works for the other tabs. That is when I click on another tab, the focus goes to the first field on that tab. When I enter a value in the gynFemale field (it is a combobox, with options Yes or No), sometimes it appears to save the value, then I discover that it has been saved as record #0.