J
Jocelyn Kadach
Hello,
This is a question that applies to an Access .adp (2003) project:
I have a list(in FormA) that uses a stored procedure with parameters as row
source.
The list has a double-click event for opening another form. (FormB)
The InputParameters property in the form that gets opened (FormB) has
a reference to the first list that I created. Form B InputProperty looks
like this:
PersonId INT = forms!frmA!lstSearchClientbyIDNo1
This works fine.
Now, I have created a second list in FormA, which has its own stored
procedures
with parameters, as record source. This list will also need to open FormB.
I need help in writing the correct syntax inv VB for setting the
inputparameter to open Formb,
by either executing the double click event behind the first
(lstSearchClientbyIDNo1)
or second list (lstSearchClientbyIDNo2).
The function or subprocedure for the first list (lstSearchClientbyIDNo1) in
vb, needs to
set the input parameter property for FormB -- so it references to the
control name for my first list (ie., PersonId INT =
forms!frmA!lstSearchClientbyIDNo1)
Then the function or subprocedure for the second list
(lstSearchClientbyIDNo2) in vb, needs to
set the input parameter property for FormB -- so it references to the
control name for my second list (ie., PersonId INT =
forms!frmA!lstSearchClientbyIDNo2)
The syntax for VB to set the reference for the input parameter that I had
tried
doesn't work.. Please help!
Thanks so much for your kind assistance.
This is a question that applies to an Access .adp (2003) project:
I have a list(in FormA) that uses a stored procedure with parameters as row
source.
The list has a double-click event for opening another form. (FormB)
The InputParameters property in the form that gets opened (FormB) has
a reference to the first list that I created. Form B InputProperty looks
like this:
PersonId INT = forms!frmA!lstSearchClientbyIDNo1
This works fine.
Now, I have created a second list in FormA, which has its own stored
procedures
with parameters, as record source. This list will also need to open FormB.
I need help in writing the correct syntax inv VB for setting the
inputparameter to open Formb,
by either executing the double click event behind the first
(lstSearchClientbyIDNo1)
or second list (lstSearchClientbyIDNo2).
The function or subprocedure for the first list (lstSearchClientbyIDNo1) in
vb, needs to
set the input parameter property for FormB -- so it references to the
control name for my first list (ie., PersonId INT =
forms!frmA!lstSearchClientbyIDNo1)
Then the function or subprocedure for the second list
(lstSearchClientbyIDNo2) in vb, needs to
set the input parameter property for FormB -- so it references to the
control name for my second list (ie., PersonId INT =
forms!frmA!lstSearchClientbyIDNo2)
The syntax for VB to set the reference for the input parameter that I had
tried
doesn't work.. Please help!
Thanks so much for your kind assistance.