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 / July 2007

Tip: Looking for answers? Try searching our database.

I have a question about using a function in a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
scubadiver - 09 Jul 2007 15:50 GMT
I have used the "workingdays2" function in a query to calculate the number
of working days between two days like so...

WorkingDays2([SLA_Date3],[SLA_Date4])

I have tried using this in a text box in a form but the calculation won't
work.

Any ideas?
SteveM - 09 Jul 2007 16:32 GMT
So I assume WorkingDays2() is a user-defined public function?
SLA_Date3 and SLA_Date4 are fields on your form?

Try putting = sign first:

=WorkingDays2([SLA_Date3],[SLA_Date4])

Steve

> I have used the "workingdays2" function in a query to calculate the number
> of working days between two days like so...
[quoted text clipped - 5 lines]
>
> Any ideas?
scubadiver - 10 Jul 2007 09:20 GMT
Another stupid moment. Date4 was earlier than Date3, duh!

> So I assume WorkingDays2() is a user-defined public function?
> SLA_Date3 and SLA_Date4 are fields on your form?
[quoted text clipped - 14 lines]
> >
> > Any ideas?
 
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



©2009 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.