dbTalk Databases Forums  

Re: Run Time Error 3061 - Too Few Parameters

comp.database.ms-access comp.database.ms-access


Discuss Re: Run Time Error 3061 - Too Few Parameters in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Johnny Meredith
 
Posts: n/a

Default Re: Run Time Error 3061 - Too Few Parameters - 04-08-2004 , 08:10 AM






Quote:
Dim l_db As Database, l_msg As String, l_rs As Recordset

Set l_db = OpenDatabase("c:\lisa\lisadat.mdb")
Set l_rs = l_db.OpenRecordset("SELECT COUNT(AgentsCustomerID) As
aCounted FROM QuoteHeaders WHERE AgentsCustomerID=" & Chr$(34) &
Me![AgentsCustomerID] & Chr$(34))
Try inserting a semi-colon at the end of the SQL statement (I did not
try to replicate your error).


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.