PC Review


Reply
Thread Tools Rate Thread

Access Macro

 
 
MichelleM
Guest
Posts: n/a
 
      7th Oct 2009
I am working on a project and I am opening a table then using queries from
then on to sort through my data. I need to initially enter a date or edit a
date on the table and then run the queries but as I have it now it just opens
the table and runs straight through everything without the option to edit..
Can someone help thanks
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      7th Oct 2009
Michelle,

The general concept with Tables is that their purpose is storage of data.
In production usage, they should never be seen, nor used for entering or
editing data. This is the purpose of Forms. I expect that if you open a
form based on your table, you will be able to then put a command button on
that form which can be used to perform the next steps, after you have made
your required data edits.

--
Steve Schapel, Microsoft Access MVP


"MichelleM" <(E-Mail Removed)> wrote in message
news:A64EEC67-7F7F-4D76-9EB3-(E-Mail Removed)...
> I am working on a project and I am opening a table then using queries from
> then on to sort through my data. I need to initially enter a date or edit
> a
> date on the table and then run the queries but as I have it now it just
> opens
> the table and runs straight through everything without the option to
> edit..
> Can someone help thanks


 
Reply With Quote
 
 
 
 
MichelleM
Guest
Posts: n/a
 
      8th Oct 2009
So I get that i need to make a form but im still not understanding how to
make the macro open the form enter a date and then continue to run the rest
of the macro.. is that possible?

"Steve Schapel" wrote:

> Michelle,
>
> The general concept with Tables is that their purpose is storage of data.
> In production usage, they should never be seen, nor used for entering or
> editing data. This is the purpose of Forms. I expect that if you open a
> form based on your table, you will be able to then put a command button on
> that form which can be used to perform the next steps, after you have made
> your required data edits.
>
> --
> Steve Schapel, Microsoft Access MVP
>
>
> "MichelleM" <(E-Mail Removed)> wrote in message
> news:A64EEC67-7F7F-4D76-9EB3-(E-Mail Removed)...
> > I am working on a project and I am opening a table then using queries from
> > then on to sort through my data. I need to initially enter a date or edit
> > a
> > date on the table and then run the queries but as I have it now it just
> > opens
> > the table and runs straight through everything without the option to
> > edit..
> > Can someone help thanks

>
>

 
Reply With Quote
 
Steve Schapel
Guest
Posts: n/a
 
      8th Oct 2009
Michelle,

There are 2 ways to do this.

One is, in the OpenForm macro action, there is a 'Window Mode' argument, and
setting that to 'Dialog' will do what you want.

The other way, which is what I was trying to suggest before, is to take all
the Actions after the OpenForm out of the macro into another macro, and then
run that as a separate event when the user clicks the 'OK' (or whatever)
button on the form.

--
Steve Schapel, Microsoft Access MVP


"MichelleM" <(E-Mail Removed)> wrote in message
news:1CF5285A-553D-4861-948B-(E-Mail Removed)...
> So I get that i need to make a form but im still not understanding how to
> make the macro open the form enter a date and then continue to run the
> rest
> of the macro.. is that possible?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro will not run with file.xls!macro.macro BillRobPV Microsoft Excel Discussion 2 12th Sep 2008 05:08 PM
Macro within a macro and Macro Prompts =?Utf-8?B?Y29tcGFyaW5pMzAwMA==?= Microsoft Excel Misc 3 7th Jun 2006 01:28 PM
A powerpoint macro, that needs to run an Access macro within it. Wayne Microsoft Powerpoint 0 12th Mar 2004 07:45 PM
Start Macro / Stop Macro / Restart Macro Pete Microsoft Excel Programming 2 21st Nov 2003 06:04 PM
Launch Macro in Access via Macro running in Excel??? dgrant Microsoft Excel Programming 1 24th Sep 2003 01:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:11 PM.