Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-Time Error '3251'

Status
Not open for further replies.

jlisota

Programmer
Mar 7, 2005
6
US
If anyone has any insight on this would be a great help. During run time when it hits the second line of code below it get the 3251 error which then states "Operation is not supported for this type of object". Can anyone help.


sPolDateTime = DBSummary(0).Recordset("PolicyNum") & DBSummary(0).Recordset("DateTime")
DBSummary(1).Recordset.FindFirst "PolDateTime = " & "'" & sPolDateTime & "'"
 
Hi:

It might help us to help you, if you were to post your connection string and parameters.

One possibility is the wrong cursor type. See Bob Rodes FAQ on ADO cursor types. faq222-3670


Cassie
PIII-500Mhz-128MB
Win98SE-VB6SP5
 
Is this ADO or DAO? ADO doesn't have a findfirst method in the recordset.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top