?
Solved

ADODB find

Posted on 2007-10-03
2
Medium Priority
?
288 Views
Last Modified: 2010-04-14
Hi Experts

Using two adodb recordsets I want to find a record in rst1 that is equivalent to a record in recordset2. How would I achieve this.

rst1.find(rst2.fields(ID).value = & rst1.fields(ID).value)

The values are integers

Regards
Joe
0
Comment
Question by:JoeBo747
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 2000 total points
ID: 20005747
I guess something like this:

rst1.find("ID = " & rst1.fields("ID").value)
0
 
LVL 1

Author Comment

by:JoeBo747
ID: 20006627
Hi Dhaest

Thanks for your reply. Thats exactly what I needed>

Regards
Joe
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Integration Management Part 2
Screencast - Getting to Know the Pipeline

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question