The below stored procedure works. However, I am trying to use a text box
from a temp form for the where clause.
WHERE Transactions.Tr ansactionID = [forms]![form1]![text0]
I even tried changing first line:
Alter PROCEDURE S3 @TID varchar (255) = [forms]![form1]![text0]
And changed last line to:
WHERE Transactions.Tr ansactionID = @TID
So far, I haven't been able to have this parameter work from a temp form
with the parameter typed into the text0 box.
any help here? I get ado error near "!" or something to that affect.
this below is what does work fine:
Alter PROCEDURE S3 @TID varchar (255)
AS
SELECT Transactions.Tr ansactionID, Transactions.Ac countID,
Transactions.Tr ansactionNumber , Transactions.Tr ansactionDate,
Transactions.Tr ansactionDescri ption, Transactions.Wi thdrawalAmount,
Transactions.De positAmount
FROM Transactions
WHERE Transactions.Tr ansactionID = @TID
from a temp form for the where clause.
WHERE Transactions.Tr ansactionID = [forms]![form1]![text0]
I even tried changing first line:
Alter PROCEDURE S3 @TID varchar (255) = [forms]![form1]![text0]
And changed last line to:
WHERE Transactions.Tr ansactionID = @TID
So far, I haven't been able to have this parameter work from a temp form
with the parameter typed into the text0 box.
any help here? I get ado error near "!" or something to that affect.
this below is what does work fine:
Alter PROCEDURE S3 @TID varchar (255)
AS
SELECT Transactions.Tr ansactionID, Transactions.Ac countID,
Transactions.Tr ansactionNumber , Transactions.Tr ansactionDate,
Transactions.Tr ansactionDescri ption, Transactions.Wi thdrawalAmount,
Transactions.De positAmount
FROM Transactions
WHERE Transactions.Tr ansactionID = @TID
Comment