Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You seem to have extra spaces in a few places (substituted below with *)
rstTemp.Filter = "CityDataID='*" & strFilter & "' And Year='*""' And Month='*""'" Tim -- Tim Williams Palo Alto, CA "greenfalcon" wrote in message ... Hey everyone, thanks for your help, im in a bind and need a little help... I am trying to search a database with excel and find out if a record is blank with recordset.filter... here is my code.. Code: -------------------- rstTemp.Filter = "CityDataID=' " & strFilter & "' And Year=' ""' And Month=' ""'" -------------------- Pretty much i want it to find a primary key (CityDataID) and if it does find it see if the recors for Year and Month are blank. I cant seem to get this code to work... Any ideas? I would be very grateful Thanks! -- greenfalcon ------------------------------------------------------------------------ greenfalcon's Profile: http://www.excelforum.com/member.php...o&userid=13622 View this thread: http://www.excelforum.com/showthread...hreadid=560347 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please help...I am at work and have a 3pm PST deadline... | Excel Discussion (Misc queries) | |||
ADO Recordset.Filter in Excel 2002 | Excel Programming | |||
Active Deadline | Excel Discussion (Misc queries) | |||
Recordset Filter by Array | Excel Programming | |||
missing deadline | Excel Worksheet Functions |