Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default XL & Access 2000, ADODB and the Find Method

G'day MVPs!

I think I've got an easy question for you.

I'm connecting to Access 2000 databases using ADO code. I was previously
familiar with the conventions of DAO coding, but as of the ADO update, they
changed some of the methods and functions and they now have a different
syntax.

I want to use the find method to search a recordset for a string in a
variable, like this:

Dim MyVariable as String
recordsetCosts.Find "Equipment like MyVariable"

(equipment being the name of the column/field)

But, it doesn't appear there is any way to find a string other than hard
coding it, like this:

recordsetCosts.Find "Equipment like 'hard coded string' "

Can someone clarify the syntax of the find method?

TIA,
Mike


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
access database (adodb)from excel vba AskExcel Excel Worksheet Functions 0 July 17th 06 02:01 AM
Activate method of Worksheet class fails in Excel 2000 Chris Bloom Excel Discussion (Misc queries) 3 September 10th 05 12:05 AM
ADODB Connection to Access Cindy Excel Programming 1 February 27th 04 11:51 AM
Export from Excel to Access ADODB javydreamercsw Excel Programming 2 February 19th 04 09:49 PM
excell 2000 to access 2000 vinimall[_2_] Excel Programming 2 October 22nd 03 03:56 PM


All times are GMT +1. The time now is 06:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"