PC Review


Reply
Thread Tools Rate Thread

To create view with parameter

 
 
pol
Guest
Posts: n/a
 
      16th Dec 2009
Please anybody can advice me with the steps to create a veiw with parameters
in MsAccess 2007 . I have the following colum

invoicemonth numeric
invoiceyear numeric
invoiceamt double

the parameter

where invoicemonth >= ar_monthfrom and
and invoicemonth <= ar_monthto

Please help . It would be very helpful.

With thanks

Pol
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      16th Dec 2009
Are you saying that you want the user to be prompted for ar_monthfrom and
ar_monthto?

Put the following as the criteria under the invoicemonth field in your QBE
grid:

Between [ar_monthfrom] And [ar_monthto]

Or are you saying that ar_monthfrom and ar_monthto are fields in another
table linked to the original table via an Inner Join?

Go into the SQL of the query and replace the ON clause with your
inequalities.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"pol" <(E-Mail Removed)> wrote in message
news:03A2E68B-9E89-4A46-9F9C-(E-Mail Removed)...
> Please anybody can advice me with the steps to create a veiw with
> parameters
> in MsAccess 2007 . I have the following colum
>
> invoicemonth numeric
> invoiceyear numeric
> invoiceamt double
>
> the parameter
>
> where invoicemonth >= ar_monthfrom and
> and invoicemonth <= ar_monthto
>
> Please help . It would be very helpful.
>
> With thanks
>
> Pol


 
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
details view parameter inungh Microsoft ASP .NET 5 7th Jul 2008 02:48 AM
Re: can we add parameter in the view of SQLServer Mary Chipman [MSFT] Microsoft ADO .NET 0 9th Sep 2005 12:36 AM
Using Parameter as Criterion in design View WSF Microsoft Access Queries 1 18th Aug 2004 03:50 PM
pass parameter to sql server view =?Utf-8?B?YW5uYQ==?= Microsoft Access Forms 2 21st Feb 2004 05:56 AM
Datasheet view of Parameter Query Larry Microsoft Access 2 8th Jan 2004 02:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:36 AM.