Solved

Open query based form with parameter

Posted on 2008-10-19
2
740 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

770 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