🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vb.database.dao
Article #2

Re: system tme in queries

#2
From: J. DeMeyer
Date: Wed, 10 Dec 1997 00:00
31 lines
2543 bytes


marleon@spaindustry.com wrote in article <880625537.2422@dejanews.com>...
> Hi all, We have an ms-access database with only one file, where we store
> people we have to call. Every day we make a filter to select the records
> for each of us with the calls we have to make (we base the filter in a
> set of fiels as area. . .). If we call, we do not contact the right
> person and they tell us to recall again to contact this person, we store
> the date and the time we have to call back. We store the date and the
> time to recall in both a recall_time and the recall_date fields. We want
> that at that date and time, the records appears in the filtered set. In
> the filter I used a query that compares system date with the date stored
> in the recall_date and it works. But it does not work when comparing
> system time with the time stored in the recall_time field. As I need this
> filter to be done, could anyone help me?. Maybe I cannot do it with
> ms-access basic operations (queries, forms and macros) and I need a VBA
> module. Thanks, mar
> 
> -------------------==== Posted via Deja News ====-----------------------
>       http://www.dejanews.com/     Search, Read, Post to Usenet
> 
Hello Mar,

I had a similar problem in comparing the time stored in the database.  I
thought it was because the time was resolved to so many milliseconds.  The
way I solved it was to grab the system time (which is a number between 0
and 1), multiply it by one million (which required if you want a resolution
of one second), and store this number  as a Long Integer.

Joe
Technical Details
Message-ID: <01bd05d2$d82953a0$534939d1@demeyer.gwis.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <880625537.2422@dejanews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101bdd,f831b5dc4b9279f7
X-Google-Attributes: gid101bdd,public
X-Google-Thread: 104586,f831b5dc4b9279f7
X-Google-Attributes: gid104586,public
X-Google-Thread: 111a5a,f831b5dc4b9279f7
X-Google-Attributes: gid111a5a,public
X-Google-Thread: 1142f6,f831b5dc4b9279f7
X-Google-Attributes: gid1142f6,public
X-Google-Thread: ff0ac,f831b5dc4b9279f7
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 1131f0,f831b5dc4b9279f7
X-Google-Attributes: gid1131f0,public
From: "J. DeMeyer" <demeyer@gwis.com>
Subject: Re: system tme in queries
Date: 1997/12/10
Message-ID: <01bd05d2$d82953a0$534939d1@demeyer.gwis.com>
X-Deja-AN: 297085238
References: <880625537.2422@dejanews.com>
Newsgroups: microsoft.public.vb.database.dao,comp.databases.ms-access,es.comp.bd.ms-access,microsoft.public.access.devtoolkits,microsoft.public.access.forms,microsoft.public.access.modulesdaovba