S
shaunp
How can we pass a parameter from a text box to Store Procedure in
Re: Using Parameter in query [Forms].[Form1].[txtFind]
I have a form with a text box and button and want to run an Access
query that takes an input parameter.So, is there
a way of doing this . . .
'"this is working now! "
SELECT SearchInbox.InBoxID, SearchInbox.Subject, SearchInbox.[Sender Name],
SearchInbox.Received, SearchInbox.From, SearchInbox.Contents
FROM SearchInbox
WHERE (((SearchInbox.Subject) Like "*" & [Find AuctionNumber] & "*"))
WITH OWNERACCESS OPTION;
Could it be done like this????
[Forms]![YourFormName]![YourControlName]
SELECT SearchInbox.InBoxID, SearchInbox.Subject, SearchInbox.[Sender Name],
SearchInbox.Received, SearchInbox.From, SearchInbox.Contents
FROM SearchInbox
WHERE (((SearchInbox.Subject) Like "*" & ([frmMAIN].[InboxTab].[txtFind]) &
"*"))
WITH OWNERACCESS OPTION;
Thank you in advance.
Re: Using Parameter in query [Forms].[Form1].[txtFind]
I have a form with a text box and button and want to run an Access
query that takes an input parameter.So, is there
a way of doing this . . .
'"this is working now! "
SELECT SearchInbox.InBoxID, SearchInbox.Subject, SearchInbox.[Sender Name],
SearchInbox.Received, SearchInbox.From, SearchInbox.Contents
FROM SearchInbox
WHERE (((SearchInbox.Subject) Like "*" & [Find AuctionNumber] & "*"))
WITH OWNERACCESS OPTION;
Could it be done like this????
[Forms]![YourFormName]![YourControlName]
SELECT SearchInbox.InBoxID, SearchInbox.Subject, SearchInbox.[Sender Name],
SearchInbox.Received, SearchInbox.From, SearchInbox.Contents
FROM SearchInbox
WHERE (((SearchInbox.Subject) Like "*" & ([frmMAIN].[InboxTab].[txtFind]) &
"*"))
WITH OWNERACCESS OPTION;
Thank you in advance.