UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Creating a report from the switchboard??    
 
   
plegge
post Oct 4 2004, 01:05 AM
Post #1

New Member
Posts: 3



Hello,

Is it possible to have a button on the switchboard that allows you to create a report/query/form directly?
Also, can I open the database window from the switch?

I thought it would involve macros...

Thanks
Go to the top of the page
 
+
Larry Larsen
post Oct 4 2004, 01:12 AM
Post #2

UA Editor + Utterly Certified
Posts: 22,722
From: Melton Mowbray,Leicestershire (U.K)



Hi
Welcome to Utter Access Forums

The creating of reports/queries/forms have to be done in design view then "saved" the button on you switchboard can then "Run" any of those objects.
Not sure what you mean about the db window..?
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Go to the top of the page
 
+
plegge
post Oct 4 2004, 01:34 AM
Post #3

New Member
Posts: 3



Thanks for replying so quickly Larry.

I am glad reports etc have to be created in design view and then run by the switchboard - I can stop pulling my hair out about it now!

By db window I meant the control window?? I have attached an image to this posting (i hope!) showing the window I am trying to describe - not very successfully. If the db is on a setting that hides this window when the db is opened, can the user then open it via the switch somehow (if they do not know about F11)?
Go to the top of the page
 
+
Larry Larsen
post Oct 4 2004, 03:00 AM
Post #4

UA Editor + Utterly Certified
Posts: 22,722
From: Melton Mowbray,Leicestershire (U.K)



Hi
Have a look in Tools>StartUp and there are a number off option that you can adjust to suit your needs.
HTH's
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Go to the top of the page
 
+
GlenKruger
post Oct 4 2004, 09:20 AM
Post #5

Utterly Crispy UA Forum Administrator
Posts: 7,093
From: Edmonton,Alberta,Canada



To create a new Form from a button use this line of code:

DoCmd.RunCommand acCmdNewObjectForm

a report would be :

DoCmd.RunCommand acCmdNewObjectReport

a query would be :

DoCmd.RunCommand acCmdNewObjectQuery

This is not the best idea for your users to have this ability as they could very easily corrupt your database.
Go to the top of the page
 
+
plegge
post Oct 4 2004, 05:10 PM
Post #6

New Member
Posts: 3



Thanks guys,

I will have a play with it!
Go to the top of the page
 
+
GlenKruger
post Oct 4 2004, 10:28 PM
Post #7

Utterly Crispy UA Forum Administrator
Posts: 7,093
From: Edmonton,Alberta,Canada



Your welcome.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 07:01 AM