[V4RB2] FindValue on a VDateTime field

Kem Tekinay ktekinay at mactechnologies.com
Thu Apr 21 07:53:56 CDT 2005


On 4/21/05 5:13 AM, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:

>> I want to perform a FindValue on a VDateTime field, but I can't figure out
>> what format it's looking for. I've tried the short date and the RB Date
>> object, but no luck. Suggestions?
> 
> I think try it as string
> 
>     fldDate.find( "04/20/2005" )
> 
> 
> Format should be according to your current db.DateTimeFormat settings.

I *think* you meant fldDate.FindValue as "Find" doesn't exist, but, as I
said, I tried that. I also tried fldDate.FindRange( true, "4/14/04
00:00:00", "4/14/04 23:59:59", true ).

Again, this is a VDateTime field. Is there an example for finding on that
type of field using the class-way?

__________________________________________________________________________
Kem Tekinay                                                 (212) 201-1465
MacTechnologies Consulting                              Fax (914) 242-7294
545 Eighth Avenue, Suite 401                          Pager (917) 491-5546
New York, New York 10018                    http://www.mactechnologies.com

To join the MacTechnologies Consulting mailing list, send an e-mail to:
  mactechnologies_consulting-subscribe at yahoogroups.com





More information about the Valentina mailing list