Question About Northwinrd Form And Macro

Feb 2, 2005

In Northwornd there is a macro called "Customer labels dialog". It disables the Select Country Combo Box if the "All Country" radio button is True. I can't see what starts this macro - where is it called to run?

Thanks

Steve

View Replies


ADVERTISEMENT

Modules & VBA :: Write A More Complex Macro That Will Start Another Macro At Preset Time

Dec 8, 2013

I am trying to write a more complex macro that will start another macro at a preset time, however I am getting stopped at the first hurdle - getting a macro to run another macro.

Here is the code i am using at the moment, all I want to do currently is click the first button, then get the second macro to execute. But no luck, getting error 2157 "cannot find the procedure"

Code:
Private Sub Command3_Click()
MsgBox "1st macro running", vbExclamation, "Note"
Application.Run "teststart1"
' Application.OnTime TimeValue("19:55:00"), "teststart1"

[code]....

View 1 Replies View Related

Macro In Form

Feb 8, 2006

Hi, hope someone can help!

I have a macro written that when clicked on it opens a web browser. Is there a way this can then point to a specific website url? I could make the default url in the browser point to a url but each time i click on the macro button the url needs to be different. all of the urls sit in a table within the database.

Hope this all makes sense!!

Thanks

B

View 5 Replies View Related

Set Value Macro In A Form

May 31, 2006

Hi everybody!

I have got a small question about the "set value" macro.
I am trying to use this macro in a form, so that the user doesnt have to type or lookup that value.

So what I want is a macro, that copies a value from a controlfield of a form and inserts this into another form and new record.

What i have is a inventory list of books. Some writers have written more than one book, so I created forms for <Add new book to existing writer>. But until now it doesnt work. Maybe somebody has a better idea.

Thanx for the help!

john:D

View 2 Replies View Related

Form .. Query.... Macro...

Feb 18, 2005

Not sure where to put this one... So I'll go with forms...
I have a form "Reports Dialog" with 3 radio buttons to pick which report you want to preview and/or print. It works fine. Now what I want to do is add a subform"Select", visable only when the radio button is clicked on. This holds the parameters for the query for the item whose radio button you picked. So I set the subform visable to "NO"
Whats the best way to make it visable when the radio button is clicked? Can I do it in a Macro? Or is it better to put a line of VB in..... And I'm not good with VB yet....... So if that is it what would the code be.
Thanks

View 2 Replies View Related

Macro Form Problem

Jan 2, 2006

Hello All,

Hope you all had a good christmas and New Year.

Right to the problem, I have a macro that load a form this works fine, but the problem is that i need the form to show on a subform using a case function i have included a copy of the file for some kind person to look at for me.

I need the table file to be the same as this one. This has been giving me sleepless nights tring different methods.

Link :-

http://www.braeburn1.demon.co.uk/Database/TV_Switchboard.zip

Thank you for you help


Alastair

View 5 Replies View Related

Open A Form Using A Macro

Dec 6, 2006

Hi All
Can someone help me with opening a form from another form using the OnDblClick event and to open the form using the data in the record to open it at the same record. ie Site Name = CP House so the form opens with CP House data showing, Site Name = St James so the form opens with St James data showing etc.
Thanks
ChrisD

View 1 Replies View Related

Form, Query Or Macro?

Oct 7, 2004

How can I make a query or maybe its a macro that can
fill up a form after I enter some information, like the customer
id (i.e. social security). However, if its a new one, than I want
to be able to enter the new information for that new customer.
I really need this guys, can someone help me here?
Thanks,
Enivaldo

View 1 Replies View Related

Modules & VBA :: Run Macro From Other Form?

Jan 22, 2014

I have a form with a button which when pressed need to run a macro which sits on a different form.

i have tried run macro ad do cmd but none of these work.

View 1 Replies View Related

Requery A Form From A Macro

May 1, 2012

I'm a complete novice to vba. I'm trying to automatically requery a form after executing a macro. I know there's a lot out there about requery, but I can't seem to get it to work. It's clear that the best way to do this, is to code it in vba.

I have a form called "Formulier_afspraak_nieuwe_patient" that I'm trying to requery from the converted macro Macro_toevoegen_nieuwe_patient()

View 5 Replies View Related

Run A Macro On Change Of Record On A Form

Feb 23, 2008

Hi!
Is it possible to run a Macro each time the user changes the Record on the Form? If so how? :confused:

View 2 Replies View Related

Form / Query / Macro / Cmd Btn Problem

Dec 20, 2005

My database contains information on many different power plants. I have created a form to retrieve data about a specific plant but there is more information than I can get onto a single page. So I added a command button to the form to retrieve a subset of data using a query. Clicking the command button is supposed run a macro that activates a query with the plant ID number as a condition to recall the specific subset. The query works fine by itself (if I enter the plant ID manually as parameter). When I click on the command button, nothing happens - I do not even get an error message to suggest where to start looking. Anybody have any suggestions? Thanks.

View 5 Replies View Related

Stopping A Macro At The End Of All Records In A Form

Mar 28, 2006

I have a macro which automatically opens a form. I then want the form
to scroll through all the records by itself until it gets to the last
record.

I've got it scrolling through the records, but it doesn't know when to
stop and throws up an error message.

View 4 Replies View Related

Run A Macro To Run Query Then Open A Form

Aug 11, 2006

Hello, I have a form that I will need to allow users to be able to go back and find a specific record and edit it. I have a control number to uniquely identify each record. I have a main data entry form where the subform has the unique value in it. Can I run a macro to ask the user what control number they are looking for and then open the data entry form to that specific record?

View 1 Replies View Related

Change The Form RecordSource Using A Macro

Sep 27, 2006

I have a form that is based on a query. I would like to change the form's RecordSource to another query using SetValue in a Macro.

Under Action Arguments I have

Item: Forms![Receiving Query subform].RecordSource

But I don't know what to put for an expression. I would like to use the same form but base the RecordSource on a query called "Receiving Search by Date". :eek:

Steve

View 4 Replies View Related

Open Form To New Record With Macro

Dec 21, 2006

I really hate being stupid about this, but I'm running around in a circle and it's making me dizzy. All I want is a simple macro that opens a form (with a subform) at a new record from a button. I know I am missing something obvious so I will let others see if they can find out what has gone wrong. The current macro is:

OpenForm(FormName)..View(Form)..DataMode(Add)
GoToRecord .. ObjectType(Form) .. ObjectName(FormName) .. Record(New)

On the property sheet of the form the following are all set to yes:
Allow Filters, Allow Edits, Allow Deletions, Allow Additions, Data Entry (I suspect the problem is here)
Record Locks is set to No Locks.

When I open the form from the button, it looks right, and I can enter the transaction information, but when I try to enter the subform information or save it , I get "The Microsoft Jet database engine cannot find a record in the table 'NewContacts_tbl' with key matching field(s) 'ContactID'". I get the same message with Allow Data Entry set to no.

And yes the key field IS there, in spite of what the Microsoft Jet database says.

I hope everyone gets a chance to enjoy the holidays and thanks to all of you for your past help and my current (relative) sanity.

A2K
:(

View 3 Replies View Related

Modules & VBA :: Running A Macro From Another Form

Jan 31, 2014

I have 2 forms and a macro in Form1 which runs throught every record to update the records, however.I would like to run this macro from the main form (Form2)

I have tried
docmd.openform "Form1"
Run Macro

but it doesnt work

View 4 Replies View Related

Macro Or VBA For Opening A Form In Particular Record

Jan 30, 2013

Self tought in Access07 but I'm trying to do the following:

I've got a form (Clients_F) that has a subform in datasheet view with a list of quote numbers made by each customer, I have managed to make a Macro after a few hours and googling, that opens another form (Quotes_F) so that it can be edited when a quote number is clicked, but I wish to be able to open Quotes_F as a new record when the empty field under the numbers column in the list is clicked.

Also want to know if it's possible to mantain the Customer's details pre-filled?...I am guessing that this is done through the CustomerID(PK & FK)?

View 9 Replies View Related

Stop Macro On Last Record In Form

Dec 4, 2012

I have a macro that opens up a form called SLA Complete Form - The macro then goes and examines two fields on the form to see if they contain data and if they do not then it displays a popup box with a message.

The form that gets opened up can have anywhere from one record to approximately a hundred records.

How can I get the macro to stop running when it hits the last record on the form without displaying an error message. I am currently using the next record feature in the macro.

View 1 Replies View Related

How To Use Macro To Go To Next Record In A Form With One To Many Relationship

Dec 6, 2012

I used the Control Wizard to create a macro on a command button to do record navigation i.e. go to First, Next, Previous and last record. The macro code, in the macro editor, is inserted on a command button on the form, asks whether it is a table, query form etc. I chose form and entered the form name but the error says the form needs to be open before I can run the macro. This happens when I open the form from a Navigation Control and Click the button containing the Macro code on the form.

View 1 Replies View Related

Can't Find Macro '.' Access 2k Form Error

Feb 21, 2006

Greetings - some help required please:

I have an intermittent error occurring on an Access 2k form giving the error
message "cant find the macro '.'" although there are no macros on the form.
After much trawling around I believe this may be due to a space being
mis-keyed into one of the event properties of one of the form’s controls but
I have looked at each to no avail.
My question is therefore two fold:

1. If this is due to a space being keyed how do I, in code, step through
each control and it's events looking for it?, or,
2. If it's not a space what else could it be.

The form opens and works Ok most of the time, the db compacts and repairs and compiles to an MDE and the error appears to not be linked to any one control or event but seems to be triggered more often than not if move from the tab order through use of the mouse.

Ideally I don’t want to redo the form or copy the database objects into a new db as there are too many.

Any help gratefully received.

NB This query was originally posted to the vba section without much success apart from a rebuild suggestion gratefully received from WayneRyan. I thought this was a vba error but may be a macro issue, a form error or could be a general problem so apologies if this is not the correct forum, if incorrectly placed Moderators please feel free to move it


Thanks


Kevin

View 1 Replies View Related

Macro To Open Form When Report Is Selected

Sep 16, 2014

I have a report that is based on a query. The query has filters in it based on user info entered from a form. So the form asks the user to select which division of the company, and the date range for when the info applied to. My issue is that I am trying to set a macro that opens this form whenever some tries to open the report.

But the macro appears to run the query before it opens the form and it gives me a generic message box asking for the division. After I type that in (instead of selecting from a drop down list like I have on my form) another window pops up asking for start date, etc...instead of opening the form I created. What am i doing wrong and how do I get the macro to open my form? If I open the form directly and enter the criteria, it runs the report correctly.

View 7 Replies View Related

Macro To Move Completed Order To Another Form

Aug 24, 2015

I have created an access database to track orders through out production. I have also created a form labeled "orders" with a subform where it has all the orders information, customer info and product info. Along with this there are 3 check boxes for each order they are labeled, "Routed", "Pressed" "Finished". I am looking for a macro for when I click the "finished" check box that order is moved to another form to reduce the amount of clutter on the orders form. Is there anyway to do this?

View 1 Replies View Related

Triggering A Macro To Occur When A Form Window Is Closed

Aug 17, 2006

Hi,

I am wondering whether it is possible to trigger the run of a macro when a form window is closed using the close button in the top right of a standard window?

If not, then is it possible to display a form in a window without the minimize, restore and close buttons?

I am currently using a setup whereby I have a button to close a form, and when clicked a macro is executed. However, the user could just as easily close the form using the close button of the window and the updates would not be performed.

Thanks in advance
Turbojohn

View 2 Replies View Related

Forms :: Macro To Close Report And Opened Form

Mar 10, 2015

I am using MS Access 2003.

I would like to open the form = VendorPayables_Maintenance_F
Choose a cheque number
Print the cheque

How to create a macro to
close the open report = d_One cheque information
and close the open form = VendorPayables_Maintenance_F

View 2 Replies View Related

Forms :: Macro To Open A Form In Hidden Mode

Mar 7, 2013

I have a button using a macro to open a form in Hidden mode. Then I have another button on another form to open this form that was hidden.

When I open the form, the form is virtually blank apart from the form caption name. But when I close this and press the button again the form opens as normal.

I do not understand why?

I was told that once you hide the form and when you open the form again, it should appear normal. Why do I get this blank form??? Only by hitting the button again then the form is normal....

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved