Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Access

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-29-2009, 07:37 AM
Access::Student Access::Student is offline Windows Vista Access 2007 (version 12.0)
Novice
 
Join Date: May 2009
Posts: 1
Access::Student is on a distinguished road
Default Display Query Value That Requires Input Parameter

I have a query that returns a single aggregate value based on the input
parameter. I can't figure out how to display this on a form. The parameter I
want to pass to the query is the primary key from the current record. Any
ideas on how I can do this automatically? Or is there a better way of getting the value, I used a query because it's a distinct count function.
Reply With Quote
  #2  
Old 05-29-2009, 06:43 PM
ansentry's Avatar
ansentry ansentry is offline Windows XP Access 2003 (version 11.0)
Advanced Beginner
 
Join Date: May 2009
Location: Melbourne, Australia
Posts: 47
ansentry is on a distinguished road
Send a message via Skype™ to ansentry
Default

Access::Student,

Please don't be offended but I can understand what you are trying to do;

If you create a "Single Form", with the control source being a query based on your data table. It will display each primary key record (you can't have duplicate primary keys).

Now if you want to locate a record quickly then you can add a combo box to the form (using the wizard and select option 3) and that will find the record that you want to view.

If I have missed the point, please ignore me.
__________________
Regards,

John A
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Query Parameter In Report With No Data Dr Do Reports 6 02-20-2009 08:50 AM
Process that requires 2 users on 2 machines Rstarr1 Programming 0 12-17-2008 12:14 PM
How to Display parameter values on the report fadone Reports 4 01-04-2006 11:36 PM
Add combo box to parameter query louisa14 Queries 1 12-10-2005 05:38 AM
DISPLAY INPUT PARAMETERS ON THE REPORT fadone Forms 1 12-09-2005 07:26 PM


All times are GMT -8. The time now is 02:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.