Topics Search

Net Work Days in Access

Net Work Days in Access
Views: 82
In Excel, I frequently use the formula, Networkdays, to calculate the number of business days that it has taken someone to process an order. I was wondering if there is a way to do the same thing in Access? I have a Project Received Date field and a Project Released Date field. I would like to calculate the business days between these two dates (please note, some of them may cross years (i.e. the project was received 12/28/2011 and released 1/5/2012). Is this possible, or should I stick to doing the calculation in Excel
Sponsored Links:

Similar posts...


How can i connect

How can i connect Icon
I am working vb 6.0 before and I have ideas how can I work vb6 into ms access, but I think its my time to explore more in I wonder can I add access into Were I can't adodc in vb. and give very detailed steps to work on my problems.

Table design and relationships

Table design and relationships Icon
I am in the process of creating a scheduling application in, I am using MS Access as the backend.

Simple scenario:

1) the boss puts a blank schedule on the desk
2) staff select the days they want to work
3) she then uses my app to assign staff to the days
4) previews and verifies schedule
5) prints out in an excel format

Application layout: a Month Calendar is used to select the start date of a 28 date range. Saves the Start Date and the End Date to textboxes. The 28 day date range (just the day, Oct 1, 2010), 1 is saved as the text property of a checkbox control. She then selects the checkboxes of the days the staff wants to work.

Data that needs to be saved:

1) Start Date
2) End Date
3) Date Range
4) Employee ID
5) Days Selected

Current Tables and Relationships

Is this the correct approach to what I am trying to do?

Calculating Work Days

Calculating Work Days Icon
Prior to Access 2010, I would use the following query expression (Work_Days([Date1],[Date2]) to get the number of work days between two dates. It is now not working.

C#form-access db and crystal reports

C#form-access db and crystal reports Icon
I have never used crystal reports.
I have an access database. I have an access form- I am creating form to replace it and still connect to database.
I have been told - Crystal reports work better with form.
first- can I still use access database with Crystal reports.
second- all pc's on network have access installed and up to .net 2.0

do I have to install any software on each pc for Crystal reports to work?
The program will be on local network

Data Access with ADO.NET

Data Access with ADO.NET Icon
If you are anything like I was when you began your search for knowledge on Microsoft's .NET technology, you were quite confused when first confronted with ADO.NET and how to implement it within your ASP.NET pages. This series of articles will first be a simple overview of what ADO.NET is, and second, will be a look at the specific objects and functionality that make up ADO.NET as a whole. My hope is that this series of articles will be beneficial to intermediate as well as advanced developers who are moving to .NET. Any prior knowledge of ADO and ASP.NET will be particularly helpful. So let's get started!

Access and problems

Access and problems Icon
I'm used to VB6 and when my old computer died I had to upgrade to since I couldn't get visual studio to work on my new one. My pet project a movie registration program which was connected to AccesDB with a zillion functions does not work anymore. I have to rewrite the whole thing in and now the trouble starts.

Some of the column names in the Db had not so clever names (like Aspect Ratio etc.) .I can add the data but as soon as there is a column name which is bracketed (in the sql-field) I get aSyntax error in INSERT INTO'statement when I get to the line "objDataAdapter.Update(ds, "tblDVD")".
Any way to solve this? I thought of changing the name of the columns in Access but I don't have Access any more either which complicates the matter.

Past Due Invoices by payment terms

Past Due Invoices by payment terms Icon
The query I have below. Is returning records with the Payment Terms for NET 30 are showing as “15-30 Days Past Due”. The NET 30 payment terms should show as “31-60 Days Past Due” and the NET 15 payment terms should show as “15-30 Days Past Due”.

Finding Median in Query

Finding Median in Query Icon
I currently have a Query set to give me the Average of # Days, and I am needing to change it to show me the Median and not the Average.

How would I do this?

I have included my SQL below.

SELECT [1 All Import].MSTSF, [1 All Import].[TOS Code], [1 All Import].[Rendering], [1 All Import].[ Name], [1 All Import].Net, Count([1 All Import].[Ref #]) AS [CountOfRef #], Count([1 All Import].[Apt Date]) AS [CountOfApt Date], Avg([1 All Import].[# Days]) AS [AvgOf# Days], Avg([1 All Import].[Distance]) AS [AvgOfDistance] FROM [1 All Import] GROUP BY [1 All Import].MSTSF, [1 All Import].[TOS Code], [1 All Import].[Rendering], [1 All Import].[Name], [1 All Import].Net

Creating Access Data Table from

Creating Access Data Table from Icon
We need to "create" an MS Access data table from within VB.Net without defining fields much like a "make table query" in MS Access. The reason for this is so that we can convert MS Access application to VB.Net gradually.

We are seeking to create a table in VB.Net copy this table together with its structure to MS Access and make the source of the data transparent to the MSAccess users.

I know that a table can be created by defining fields... Using VB.Net 2003

if you know any good sources about OleDB

if you know any good sources about OleDB Icon
I am started to work with OleDb objects ( "How to work with access DataBase from environment".

1. I am working with windows application and trying to create new access db and copy (duplicate) existing access db with different name to some directory .

2. I am need to create archive : cheking existing archiv.mdb and update him with new rows from source.mdb ,then delete all rows that older then 2 monthes from source.mdb . This program must repeated once in all month.