DataEmbryo
Programmer
Hi All,
I have read the previous posts on creating passthrough querys with parameters, but for I just can't seem to make it work for me. Here's what I want to do...
I have a form where you select from a list box that queries from a table. When I click a button on the form, I want to use the value of the selection [idissue] in a passthrough query to a SQL server. The query is used in a report.
This is my SQL in the passthrough query...
Thank you for your help
Mark
I have read the previous posts on creating passthrough querys with parameters, but for I just can't seem to make it work for me. Here's what I want to do...
I have a form where you select from a list box that queries from a table. When I click a button on the form, I want to use the value of the selection [idissue] in a passthrough query to a SQL server. The query is used in a report.
This is my SQL in the passthrough query...
Code:
SELECT idIssue, vchrTitle, dtmRaised, dtmRequired, dtmDelivered, smintUserAssigned, UserAssigned, smintUserRaised, UserRaised, tintStatus, State, tintColor, StatusColor, tintImpact, Impact, vchrClosingComments, vchrReference, vchrComments, CommentEditDate, vchrDescription, DescEditDate
FROM vw_issue
WHERE IDIssue = --Criteria from form
GROUP BY idIssue, vchrTitle, dtmRaised, dtmRequired, smintUserAssigned, UserAssigned, smintUserRaised, UserRaised, tintStatus, tintColor, StatusColor, tintImpact, Impact, vchrClosingComments, vchrReference, vchrComments, CommentEditDate, state, dtmDelivered, vchrDescription, DescEditDate
Thank you for your help
Mark