Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 13th, 2012, 07:43 AM
Registered User
 
Join Date: Apr 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile How to pass multiple value as parameters to MS access Report from MS access sql code

Hi..Eveyone,
PLZ can you tell me How to pass multiple values as parameters dynamically to MS access database Report from MS access sql code.
My sql code is are as follows:

SELECT DISTINCT IM.NUMBER,SD.open_time
FROM dbo_INCIDENTSM1 SD , dbo_SCRELATIONM1 REL, dbo_PROBSUMMARYM1 IM ,dbo_ACTSVCMGTM1 SDAC,
dbo_ACTIVITYM1 IMAC
where REL.SOURCE=SD.INCIDENT_ID and
REL.DEPEND=IM.NUMBER and
SD.INCIDENT_ID=SDAC.NUMBER and
IM.NUMBER=IMAC.NUMBER

In above code I want to pass multiple values as parameters dynamically to three fields.Like IMAC.Type & IMAC.Operator & SD.Affected_ITEM
It should ask multiple values at run time..when we execute query.
Plz do needful help ASAP.
Advance Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
left join on multiple tables in MS access database 2007 sql code mukta Access 2 April 11th, 2012 07:27 AM
How to pass parameters to MS Access report murtazasif Access VBA 1 November 2nd, 2007 06:42 AM
Convert Ms Access report to MS Word doc kite Access 1 October 22nd, 2007 01:45 AM
Database migration MS Access 2003 to MS SQL 2000 ayazhoda SQL Server 2000 3 April 23rd, 2007 11:38 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.