Hi Martin,
On the Toolbox toolbar (in the form you are using), use the Command button wizard, as you navigate through it you have an option to go to a specific record, which you can use both ID criterias to apply a filter.
Hope this helps you.
Trevor
User Profile
Collapse
-
Jim,
What you can do is create a new database and then import all the objects via the Table and New Option, select Import and the wizard will ask you to select the database (Passworded one) and then import all the objects from there.
Hope it works for you.
TrevorLeave a comment:
-
Matt it sounds as though you need the Database in a Shared Folder, someone having Administration rights and others just shared permissions. If this doesn't help then within the form you can set commands on the On Open Events to do something like this:
cmdButton1.Enab led=True
cmdButton2.Enab led=True
etc
This can be done on the form itself as it opens.
Enjoy...Leave a comment:
-
You want to set a password behind a button on a form and set it to the Event on Click. Something like this:
Code:dim strPassword as string strPassword = "Password Goes here" if inputbox("Enter the Password","Access Password")=strPassword then docmd.openform"Form name here" Else Msgbox"The Password is incorrect please try again" Exit Sub End If
Leave a comment:
-
Hi what you need to do in your dim statement is specify the sheet name as follows:
Code:dim wkbk as excel.application set wkbk = createobject("excel.application") with wkbk .visible=true .workbook.open ("The path and name of the workbook") .sheets("The name of the sheet to activate").select end with
Leave a comment:
-
trevor glover started a topic Image Update on Multiple Access Reports Via a command button on a Fromin Visual BasicImage Update on Multiple Access Reports Via a command button on a From
HI Folks
I am trying to use VBA on a form to update a image on a number of reports within an Access Database, (i don't want my users to do this manually), the image relates to department logos, so each department will use a maintenance form to find the logo and then click on a command button to change the report logos.
The image object is called image17 and it is the picture properties i want to change.
Any help...
No activity results to display
Show More
Leave a comment: