|
-
Jul 6th, 1999, 04:24 PM
#1
Thread Starter
New Member
I am trying to write a query that will display only records that have a certain game_no. The game_no will come from a global variable called ref. When I try the following in Data Manager I get the error message Error opening table VB: Too few parameters. Expected 1.
SELECT Plays.*
FROM Plays
WHERE (((Plays.Game_no)=[ref]));
If I replace [ref] with ‘ref’, I get type mismatch.
If I put the same code in the form Load section I get the following error message:
SELECT Plays.* (Error Message EXPECTED: Case)
FROM Plays
WHERE (((Plays.Game_no)=[ref]))
Any suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|