Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2007

Tip: Looking for answers? Try searching our database.

txtbox returns current user only

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lungta - 17 Jul 2007 20:20 GMT
Hi, hope someone can unmuddle my brain here.

We have a db at work tracking all the phones, equip., fleet cars, etc. and
separate tables for each tracking the assigned users, who change throughout
the yr. Only 1 person has each piece of equipment at any one time.

example: main phone form has subform showing everyone who had that phone and
the start/end dates, most recent on top & descending. This is ok.

But another form needs to find the user that had the phone during a certain
date range, plus my rpts display costs by whichever user had the phone on
each invoice date.  So my criteria for InvDate parameter is "Between
[startdate] and [enddate]. Only way I can make this work so far is to put a
fake end date (2009 or something).

How can I leave the end date blank (for all current assigned users) and
still get only one user per invoice?

Thanks,

Signature

Lungta

Douglas J. Steele - 17 Jul 2007 20:30 GMT
Try:

Between [startdate] and Nz([enddate], #9999-12-31#)

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hi, hope someone can unmuddle my brain here.
>
[quoted text clipped - 19 lines]
>
> Thanks,
Lungta - 17 Jul 2007 21:52 GMT
Oh boy, it works great!  You rock! Thanks.
Signature

Lungta

> Try:
>
[quoted text clipped - 23 lines]
> >
> > Thanks,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.