Topics Search

'handle' command

'handle' command
Views: 1
I have inherited a club record system from a deceased member which I am trying to unpick. I have managed most of it but there is a command which I am unfamiliar with. On the Switchboard he has a series of buttons which call various forms, reports and macros using a command called '=HandleButtonClick(4)' where the number represents that button on the list. Is this a VBA command? Is there a way to discover where in the code is this instruction
Sponsored Links:

More topics


Using an event to change color of text.

Im looking to give the users of a form some visual cues indicating in what order combo boxes need to be clicked. Even though the order is a straight forward top to bottom sequence, I believe in going the extra mile.

So say the object is a label and is named lblCategory. Is there a VB command that will change the label's text color? Then Its just a matter of me putting that command into the proper event in the corresponding combo boxes, which I can handle.

Command List Question

I've been searching the net & MS's site for about an hour and can't find what I'm looking for. Maybe I'm not phrasing it right or something - please help! ^_^

All I want is a list of the commands under the Run Command option that explains what each command does. I can't find stuff in my manuals or through the office assistant. Does this exist anywhere

Pointers for Inventory for Inventory DB

I'm creating a DB to handle inventory and ordering for a restaurant and wanted some advice really on what things I might need to look out for , common newbie mistakes in an inventory DB etc.

I am already unsure how to handle some things though. particulary with the prices and value of my items

I have products in stock which I will need to enter as an initial inventory. Now some of these may have been purchased at different prices but I'm prepared to enter them at a single price per product for simplicity sake.

The confusion I have is how do I handle in the design the changing prices of products. for example chicken, is something I buy a large amount of about 3 times per week and the price changes most days , so the value of the chicken I have in stock needs to reflect this somehow.

Password Command button on a switchboard

I created a command button that will not open unless a password is put in. For some reason my command box is gone. I can still see the previous command button instructions in VB, but I can't get figure out how to re-attach the command to the button.

Minimize Command Ribbon in a Form Event?

I have a Form 'Periodic Analysis', which because of its' layout requires me to minimize the 'Command Ribbon' to allow all the data to be displayed without scrolling.

I would like to have the 'Command Ribbon' minimized while the Periodic Analysis Form is open and have a macro re-instate the command ribbon when the Periodic Analysis Form closes. I cannot find any commands to do this. I can do it manually but would like it to be automated with the macro. I would do this as 2 Events in the Form itself using 'On Open' and 'On Close' in the 'Forms Properties' window.

I have no skill with VB and am just learning Macros

Creating a Class to Handle Access Form Control Events

I'm trying to create a Class which will handle multiple Control Events in Access. This is to save the repetition of typing out many lines of identical code.

parameter.add - How do you handle null or empty values?

Can you tell me how to handle processing when parameter.add adds a parameter in which the value is null or empty?

In my code I add this parameter:

I thought that String = Nothing gives them a default value.

As a quick fix so I can import the data I made sure if any parameter was null I would pass it a single space character but is that the best way to handle that scenario?

hidding group commands in ribbon and setting password with vb

All this is for access 2007

I can manipulate the access default ribbon tabs and groups but is there a way to, for example, hide a command in a Tab's group? For example, are we allowed to hide the 'linked table manager' command in the 'Database Tools' group? If so,

Second thing. How to use the RunCommand acCmdEncryptDecryptDatabase command to set a password/encrypt a database? When I use it from a button on a formi get an error message saying that it is not available right now, however, the 'encrypt with password' command in the ribbon works just fine.

Use a command button to start an action or a series of actions

You use a command button on a form to start an action or a set of actions. For example, you can create a command button that opens another form. To make a command button perform an action, you write a macro or event procedure and attach it to the command button's On Click property. You can also embed a macro directly into the On Click property of the command button. This makes it possible to copy the button to other forms without losing the functionality of the button.
What do you want to do?
* Add a command button to a form by using a wizard
* Create a command button by dragging a macro to a form
* Create a command button without using a wizard
* Customize a command button

add record with data from form and VBA ??

I can figure out a work around but would prefer to learn how to handle this correctly.

I want to add a new record through a form and when the user has completed the fields they can click on the Add command button. When this happens I would like to add data to two fields not included on the form.

I want to add the current date and also a status of "Ready" to another field. This would happen without user interaction but when the record is being added.

I have tried an update tablename and set field value but could not get the syntax correctly or something because I kept getting an error.

For this example let's say the table is TableName and the date field is AddDate and the status field is Status.

I also want to add code to the command button that saves the record and then closes. I have that code that works but should I update the two fields before saving therecord or use the save record command first and then update the two fields ?