We have a training database that opens to a main switchboard. I click on
the option "Search Forms", which opens a second switchboard. From there, I
click "Search by Name", which opens a form with a text box for "First Name",
and another for "Last Name". Once the names are entered, you click a command
button on the same form to "Run the Query". This opens a pop-up form saying
"search complete", and you must click "OK" to make this form disappear, and
continue. You can then click the "View Report" command button on the
original form to get to the report.
The database I am working on has a form with "First Name" & "Last Name"
fields (already filled in), and a command button that opens to the main
switchboard of this training database. Can I add something to my command
button so it automatically selects the above mentioned switchboard options
and enters the names from my form? Maybe a macro that somehow does all of
these steps?
I would ultimately like the user of my database to click the command
button on my form one time to get directly to the report of the other
database automatically using the names from my form. I'm not too good with
code, so please explain in detail if this is even possible.
Thank you all for getting me this far.
Jim
|
|
0
|
|
|
|
Reply
|
Utf
|
4/24/2010 6:04:04 AM |
|
Hi Jim
The simpelst method would be to run the report in your first DB. Is there a
reason why this can not be done.
If there is a good reason, then one method would be to run an update query
(that updates a table with only that record) with the record you have
selected and then close the 1st DB. Open the 2nd DB and import the table
with the record in it and then run the report.
A good idea would be (after you have run your report or whatever) to deleted
the record from the table - so you are ready to run your upquery again.
--
Wayne
Manchester, England.
"Jim L." wrote:
> We have a training database that opens to a main switchboard. I click on
> the option "Search Forms", which opens a second switchboard. From there, I
> click "Search by Name", which opens a form with a text box for "First Name",
> and another for "Last Name". Once the names are entered, you click a command
> button on the same form to "Run the Query". This opens a pop-up form saying
> "search complete", and you must click "OK" to make this form disappear, and
> continue. You can then click the "View Report" command button on the
> original form to get to the report.
> The database I am working on has a form with "First Name" & "Last Name"
> fields (already filled in), and a command button that opens to the main
> switchboard of this training database. Can I add something to my command
> button so it automatically selects the above mentioned switchboard options
> and enters the names from my form? Maybe a macro that somehow does all of
> these steps?
> I would ultimately like the user of my database to click the command
> button on my form one time to get directly to the report of the other
> database automatically using the names from my form. I'm not too good with
> code, so please explain in detail if this is even possible.
> Thank you all for getting me this far.
> Jim
|
|
0
|
|
|
|
Reply
|
Utf
|
4/24/2010 12:01:01 PM
|
|
It actually works fine if I just click the switchboard buttons & type in
the names in the training database to see the report. The reason I didn't
want it working this way is because the form in my accident database is used
as a presentation on an overhead projector screen. It kinda disrupts the
flow if the presenter has to stop to click a bunch of buttons & type. It
would be much more professional if all I had to do was click the one button
on the form. I get kinda picky that way sometimes.
As for the update query, you lost me (I told you I wasn't too good at this
stuff). Would this query go in my accident DB & somehow pull all of the
training information for this one person from the training DB table? If
that's the case, it may work fine, I just don't know how to go about doing
it. Can you explain in simple terms?
Thanks
"Wayne-I-M" wrote:
> Hi Jim
>
> The simpelst method would be to run the report in your first DB. Is there a
> reason why this can not be done.
>
> If there is a good reason, then one method would be to run an update query
> (that updates a table with only that record) with the record you have
> selected and then close the 1st DB. Open the 2nd DB and import the table
> with the record in it and then run the report.
> A good idea would be (after you have run your report or whatever) to deleted
> the record from the table - so you are ready to run your upquery again.
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "Jim L." wrote:
>
> > We have a training database that opens to a main switchboard. I click on
> > the option "Search Forms", which opens a second switchboard. From there, I
> > click "Search by Name", which opens a form with a text box for "First Name",
> > and another for "Last Name". Once the names are entered, you click a command
> > button on the same form to "Run the Query". This opens a pop-up form saying
> > "search complete", and you must click "OK" to make this form disappear, and
> > continue. You can then click the "View Report" command button on the
> > original form to get to the report.
> > The database I am working on has a form with "First Name" & "Last Name"
> > fields (already filled in), and a command button that opens to the main
> > switchboard of this training database. Can I add something to my command
> > button so it automatically selects the above mentioned switchboard options
> > and enters the names from my form? Maybe a macro that somehow does all of
> > these steps?
> > I would ultimately like the user of my database to click the command
> > button on my form one time to get directly to the report of the other
> > database automatically using the names from my form. I'm not too good with
> > code, so please explain in detail if this is even possible.
> > Thank you all for getting me this far.
> > Jim
|
|
0
|
|
|
|
Reply
|
Utf
|
4/25/2010 4:58:01 AM
|
|
|
2 Replies
182 Views
(page loaded in 0.352 seconds)
Similiar Articles: Switchboard and TreeView - microsoft.public.access.formscoding ...I would like to create a new Switchboard form using the treeview control, and having it point to this table. Basically I want my Switchboard to be in Treeview mode. Open another form in Add mode - microsoft.public.access.forms ...I would like to create a new Switchboard form using the treeview control, and having ... Not Node.Expanded > > Case sbeOpenForminAddMode > > 'Open form in Add Mode ... Logical statement on a Switchboard - microsoft.public.access ...You can disable any control on a form based on an option group ... I think Switchboard is table driven. Perhaps add another column with a security level (e.g. 1-3, where ... Recursive form - microsoft.public.access.formsI would like to create a new Switchboard form using the treeview control, and ... Date : 29-Nov-2002 '.Called by : fFillTreeView, fFillChildren (recursive ... Show/Hide Combo box - microsoft.public.access.formsI am using the MS switchboard to control form access, I am assuming it will be on the ... One of the properties is the .Visible property... another is the .Enabled ... How do I stop the control wizrd from creating embedded macros ...Switchboard manager was great in its code handling. ... Build me a new Item Add Wizard - microsoft ... its own data source that is embedded in another ... call this control ... Command button to populate field automatically - microsoft.public ...Hi, I would like a command button on my switchboard to open a form and ... Control Button to Create a New Record in Another Form - microsoft ..... of the data entered ... Too many forms? - microsoft.public.accessIn order to enter a new certificate for a selected employee I needed to ... or the querry restriciton if opened with annother command button control from the switchboard? TreeView control OCX - microsoft.public.access... to include a "free run time" version of the control in ... of your application breaking if/when migrated to a new ... Switchboard and TreeView - microsoft.public.access ... help with code to open form with openargs - microsoft.public ...>and if a control is referenced get the value from that ... 30 of the 20 line private subs on my main switchboard with ... code stops, Copy the SQL string from OpenArgs to a new ... 450 VOLT EMERGENCY GENERATOR SWITCHBOARD CONTROL AND ...Another contact on "27E" energizes timing relay "2". When timing relay "2 ... Type SB-1 Emergency Switchboard Control Device "43" Switch At regular intervals switches ... Central Control Station Local IC SwitchboardAnother of your duties as an IC Electrician is the ... control station switchboard receives US Patent # 4,580,259. Switchboard control system - Patents.comAnother object of the present invention is to provide a switchboard control system for a time division exchange having a plurality of switchboards connected to a time ... NXT Switchboard: another remote control for the NXTThese days, I pondered about a way to test new robots already during development phase to figure out reasonable and working usage of the NXT motors ... Create and use a switchboard - Access - Office.comAccess 2007 provides a new feature known as the Navigation Pane that replaces the ... In the Switchboard Manager dialog box, select the switchboard you want to edit, and then ... 6/28/2012 5:06:07 PM
|