Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Recordset::Filter ?

 
   Database Help (Home) -> Visual Basic -> ADO RSS
Next:  Diagrams not appearing in Enterprise Manager  
Author Message
Seradex

External


Since: Feb 14, 2005
Posts: 1



(Msg. 1) Posted: Mon Feb 14, 2005 5:23 pm
Post subject: RE: Recordset::Filter ? [Login to view extended thread Info.]
Archived from groups: microsoft>public>vb>database>ado (more info?)

What if you were to try this:
rsRecordSet.Filter = " Date >= #" & CStr(DateSerial(2004,11,01)) & "# "

My understanding is that this would work.


"js" wrote:

 > Hi, I just found the filter on date is based on the computer date settings.
 >
 > sometime rsRecordSet.Filter = " Date >= #11/01/2004# " return 0 if I
 > change mycomputer setting to
 > "English(Canada)" and short date format as "dd/mm/yyyy".
 >
 > How to fix this? Thanks.
 >
 >
 >

 >> Stay informed about: Recordset::Filter ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
updatable ado-recordset - Hi, In the code below i have an updatable ado-recordset. However it is not working how i thought it would be. Maybe someone can help me out here? The global connection (Thanks to Brendan): Option Compare Database Option Explicit Public mconn As..

ADO recordset question - Hello all. This is such a basic question, but I can't find an answer. I have a function in a class module that finds data from a series of database tables. The data, when found, is placed into a new recordset within the function. All OK here. Now, wher...

ADODB.RecordSet - Hi, I have a client recordset returned via VB6. I'd like to know if it can be inserted to a phisical table on MS SQL SERVER containing the same fields...? It'd be like a "INSERT SELECT", but the source (select) would come from this adodb.rec...

Recordset-adding to a Listview - I've got a weird problem - - - it must be something simple, but for the life of me, I must be missing it... I've got a recordset - and I'm trying to add the results into a listview, but, instead of adding each successive record after the first line of....

VB6 using ADO, sproc with return recordset - VB6 code snippet: with cmd .cmdtext = "exec buildwordlist 11" .commandtype = adcmdtext end with set rs = cmd.execute() if not rs.eof then strfield = rs!fieldname rs.movenext end if the above code works just fine if the sproc is ...
   Database Help (Home) -> Visual Basic -> ADO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]