convert your view into a stored procedure
create procedure usp_get_employee
(
@employee_id int
)
select * from tbl_employee where employee_id = @employee_id
go
grant execute on usp_get_employee to public
go
Then create a passthrough query in Access that calls the stored proc.
currentdb.querydefs("usp_g
docmd.openreport .....
Main Topics
Browse All Topics





by: acperkinsPosted on 2007-04-18 at 14:44:14ID: 18935415
Not in the MS Access way. But there is nothing stopping you from doing:
Select Col1, Col2, Col3, ...
From vw_YourViewName
Where CustomerNumber = 'xyz'