Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / May 2008

Tip: Looking for answers? Try searching our database.

Macro Code or Form code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EagleOne@discussions.microsoft.com - 21 May 2008 22:01 GMT
2003

Currently 1st time design/use of form.

I am not sure how to code a form.  Is there a wizard?  Does creating a form
and/or buttons generate any code?

The form will have 4 radial buttons.

I would like the form to open on FileOpen

Would like the user to select any, or up to all, radial buttons.

I do not know where to place the code.  (What is macro code vs form code?)

Macro????
  OnOpen
  Open MainForm

Button #1  (If checked on MainForm)
  Run query #1
  Copy results to c:\Reports\Results#1.mdb
Button #2  (If checked on MainForm)
  Run query #2
  Copy results to c:\Reports\Results#2.mdb
Button #3  (If checked on MainForm)
  Run query #3
  Copy results to c:\Reports\Results#3.mdb
Button #4  (If checked on MainForm)
  Run query #4
  Copy results to c:\Reports\Results#4.mdb

Thanks in Advance
EagleOne
Wayne-I-M - 21 May 2008 22:39 GMT
Yes there is a wizard for all these

Open the switch board in design view and the the tool box.  Select the
button icon and follow the instrcutions (there is one to open the form)

Open the form in design view and do the same but this time follow the same
instructions to open/run the query(s)

Signature

Wayne
Manchester, England.

> 2003
>
[quoted text clipped - 30 lines]
> Thanks in Advance
> EagleOne
EagleOne@discussions.microsoft.com - 21 May 2008 22:53 GMT
Thanks Wayne form MOE!

>Yes there is a wizard for all these
>
[quoted text clipped - 3 lines]
>Open the form in design view and do the same but this time follow the same
>instructions to open/run the query(s)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.