Solved

Open query based form with parameter

Posted on 2008-10-19
2
741 Views
Last Modified: 2008-10-20
I have query based form:
Form1

Query:
SELECT Table1.*
FROM Table1
WHERE (((Table1.ID)=[openid]));



how to pass a parameter value for [openid], when i  open this form from another.
0
Comment
Question by:CMDAI
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 200 total points
ID: 22755688
You can't do it that way.

If Openid is a field on the calling form then use:

WHERE Table1.ID=forms!callingformname!openid;
0
 
LVL 1

Author Comment

by:CMDAI
ID: 22756075
Yes i think this would be ieasier, i get carried away by imagination sometimes.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question