Brian Martin
Registered User.
- Local time
- Today, 02:48
- Joined
- Jul 24, 2002
- Messages
- 68
My Query:
PARAMETERS [Forms]![CurrentList]![ListID] Text ( 255 );
SELECT Join.*, Join.ListID
FROM [Join]
WHERE (((Join.ListID)=[Forms]![CurrentList]![ListID]));
I then want to make T a recordset based on this query in my code:
Dim d As Database
Dim T As Recordset
Set d = CurrentDb()
Set T = d.OpenRecordset("qryCurrentList")
I get an error saying too few parameters, 1 expected.
How do I correct this?
PARAMETERS [Forms]![CurrentList]![ListID] Text ( 255 );
SELECT Join.*, Join.ListID
FROM [Join]
WHERE (((Join.ListID)=[Forms]![CurrentList]![ListID]));
I then want to make T a recordset based on this query in my code:
Dim d As Database
Dim T As Recordset
Set d = CurrentDb()
Set T = d.OpenRecordset("qryCurrentList")
I get an error saying too few parameters, 1 expected.
How do I correct this?