Creating Report For Total Users Per Job

Jul 17, 2009

So I had a report I needed to create and needed to get the total users per job for a system that I was not (and still am not) very familiar with. I asked the developer for that system for the code and was told it was no easy task. He sent me a query that didn't look anything like a user count. I told him I needed something to get all the users for each and every job in order to put it in the report I was building for one of the clients. I was told that wouldn't really work. I looked at his code as it worked on a per job basis.

The following is an example of the "logic" used to get the user count per job in asp.net:
TRUNCATE TABLE1
INSERT username INTO TABLE1 FROM QUERY1 WHERE CRITERIA MET AND job = *passedinjob
INSERT username INTO TABLE1 FROM QUERY2 WHERE CRITERIA MET AND job = *passedinjob AND username NOT IN TABLE1
SELECT username FROM TABLE1 and put in a dataset
[Code] .....

There were no UNION statements in the query1 or query2, there was no select count(*) from table, there was no recordset.count..

View 1 Replies


ADVERTISEMENT

Calculate Total Time In Crystal Report?

Mar 14, 2010

I am creating a report in vb.net using crystal reports and need help on finding sum of dailyworkhrs in my crystal reprot. I have a feld which calculates dailyworkhrs and now i would like to find the total of it. For example:

07:30:12
08:30:10
OUTPUT Should be
16:00:22

View 6 Replies

Find Total Time In Crystal Report?

Sep 16, 2009

I created one crystal report in that i print time for each user. finally i want to calculate total time. so wat should i do to calculate total time. i tried with sum method......

View 1 Replies

Get The Value Of The Total Summary Of Crosstab In Crystal Report?

Feb 9, 2010

I got stuck with my program and I can't figure it out by myself. I have a problem in getting the total summary of my crosstab. Here's my sample report.As you can see on my report, you will notice that I set the Section Footer (it is not visible here) to Suppress (No Drill Down). Here's my formula

if {creditmemo_list.CreditReturn}="Yes" then
true
else
false

And it works fine. All I want is to get the value of total summary (Sum of @ii) of the crostab and subtract it to the value of #TotalBalance and the result would be the @GrandTotal.

The formula of my @GrandTotal should be #TotalBalance} - {(Sum of @ii)} <-Actual value of this object?+.`

View 1 Replies

Display Page Total In Crystal Report Viewer?

Apr 6, 2009

i am using crystalreport document and crystalreport viewer for creating one report this is the code...

[Code]....

using stored procedure "spvatregister" , i am getting the report on report viewer

how can i show the total amnt (amnt is a parameter of spvatregister) of each page on reportviewer

View 1 Replies

Creating A Program Showing Total Running Processes

Apr 13, 2010

I'm creating a small application and want to add function which shows the total running processes in windows. What are the codes for that button?

View 1 Replies

Creating A Running Total That Will Be Displayed In A Textbox And Message Box

Mar 9, 2009

i am cannot for the life of me figure out how to create a running total that will be displayed in a textbox and message box. here is what i need to mimick - [URL] this is my code:

[Code]...

View 2 Replies

Creating Different Users That Have Different Authorization Using .net?

Apr 25, 2010

I am not capable of creating different users that have different authorization using vb.net.

View 5 Replies

Creating Inactive Users In VB?

Jan 26, 2011

I am having trouble creating inactive users in VB. I watched the tutorial [URL]but it is for C# and the code behind won't work in VB. I need the users to be inactive when they register and send the administrator an email saying someone has registered to be approved.

View 3 Replies

Creating Win App To Communicate Between Users On LAN

Jun 4, 2012

My project is to create a windows application for communicating between users on our LAN, to both send and receive short text messages. I am attaching a rough draft of my Form in Basic, with notes about what I want in the different parts. I am only trying to find out if my goals are possible in VB-2010, before I invest a lot of time searching for and experimenting with the code... so here are my initial questions:

1) Is it possible to build such an application in Visual Basic 2010, and would I be able to use the free "Express" version I have downloaded, or would I need to purchase the full version?
2) Basically, each user would run the EXE program which is the main window (like the attached), and would see all users connected to the LAN (and listening on the specified port) in the ListBox... would receive incoming messages in the top window (output from a console module I have already got working), and be able to send to anyone on the LAN using the bottom window... Is all of this possible in VB-2010?
3) Is there any complications making this application work well on both Windows XP and Windows 7 (64bit) user machines?

I don't expect this to be easy by any means, I just want to know if I'm embarking on something that is possible or not.
Attached image(s)

View 10 Replies

RDLC Report Page Wise Total And All Page Wise Total On Last Page?

Feb 3, 2012

I am developing a small application with VB 2008 and MS SQL 2005. For reporting using RDLC reports. Everything is going well except page wise total.I need page wise total on each page and each(all) page wise total should be displayed on last page. I need the report output like this.

SrNo. Amount
1. 200
2. 200
3. 200

[code]....

Note : No. of rows/page are not fixed.For group Total I have used Sum function of rdlc table with scope table_Group2 & for Grand total I have used Sum function of rdlc in table footer with dataset scope.For page wise total I have used textbox in Report footer (=Sum(ReportItems!amt.Value). How to get page wise totals on last page again.

View 1 Replies

Creating Settings For Multiple Users

Jun 28, 2011

I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too. I tried using settings to do this like so:

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1

[Code]....

but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.

View 4 Replies

VS 2005 Creating Different Instance For Different Users?

Aug 29, 2009

I have created a multiuser application and at different user login i want to create different instances of the application.How to do this? Can somebody give the concept of how to approach this?

View 14 Replies

Creating A Tool To Log Encountered By Users Of System

Jan 14, 2009

I haven't been doing a programming for awhile now. But, I was a VB programmer before. I will be creating a tool to log issues encountered by the users of our system. It will be a web based. I'm planning to create it in VB.Net. Any resources that you could share is greatly appreciated. I'm looking for a ready program that I could start with to speed up my programming.

View 1 Replies

VS 2010 Creating Settings For Multiple Users?

Jun 28, 2011

I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too.I tried using settings to do this like so:

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1
End Sub

[code]....

but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.

View 1 Replies

Code Total Cost To Give Pound Sign With Total Cost At Moment When Total Comes Up

Jun 7, 2010

How do I code the total cost to give me a pound sign with the total cost at the moment when the total comes up for an example it gives me 3.6 when I need it to show £3.60 here is the code I have so far. [code]

View 2 Replies

Creating A Function To Enable / Disable Bttns Based On Users

Mar 8, 2012

What i am trying to is create a function were by a user when he logs in, based on the rights given to them they can either use certain buttons . I no i have to use the enable and disable function.[code]if username is true and user_name is Sales then enable x y z buttons. i been trying looking around and reading and found the following which i cannot get to work with my system but they follow a similiar patten to what i want to achieve.[code]

View 1 Replies

Creating A Logon System To Check Users In SQL2008 Express?

Jun 21, 2010

I am currently creating an application to track timekeeping (a clock in/out system) and I am trying to work out the best way to do this.

I have a Main Form which contains buttons to ;

- Log in
- Out for Break
- In from Break
- Log out

When a user presses the "log in" button the logon form appears, the user then enters their username and password. What happens next is where I would like the help.

Process is as follows:Click Logon Enter Username/Password Check Logon Form for errors (eg no password etc) Check User is in Database (using SQL query) If user is in DB and username and pass are ok then refer back to the main form to perform Stored Procedure for what the user wants to do (eg logon or or out for break etc). Set label on main form to show user as logged on My question is should I be using a public variable and calling the main form again or in the user logon form having 4 options and using an IF ELSE to select the appropriate Stored Procedure?

View 3 Replies

Valid Delete Command - Creating A Form That Creates New Users And Then Updates Them To A Dataset

Dec 29, 2010

I am creating a form that creates new users and then updates them to a dataset, I have done this ok, but I am getting a runtime error when I delete a record. Please see below the exception being thrown

"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows"

My code below

CODE:

So I know I need to add a delete command, but how do I write this in code and do I write it in the saveitem click event? I guess I would because the app crashes when I click save to update the dataset.

View 5 Replies

Creating A Report In Word?

Feb 10, 2012

Imports System.Data
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Interop.Word
Imports System.IO

i have been using the above references to print a report in word document but my problem is that i am failing to put headers and footers on my reports. i want to include report title on the header and page number on the footer. how do i do it?

View 2 Replies

Creating New Dataset For Each Report?

Apr 25, 2009

I am using reportview to set up my report pages. I used the existing datasets(configure -->add table -->save) but every time I clicked save, I got a few errors. So I decided to create new datasets for the tables that I want to have reports. Is that the right thing to do?

View 1 Replies

Creating Page 2 In Crystal Report?

Oct 12, 2009

Unfortunately the data that i needed to post on the first page of crystal report can NO longer occupy the needed information that my system require in my report page... i would like to know how can i add page 02 on crystal report please

View 3 Replies

Creating Reports Without Crystals Report?

Mar 17, 2009

In vb 6.0 I can create I data report by using data environment of the project properties.I woul like to ask if how can I create something like that in vb.net. The reports that will be viewed will be printed if the user want to.

View 3 Replies

Creating Crystal Report Using MySQL Connector Net 6.4.3

Sep 10, 2011

I'm having a problem connecting my DB to a crystal report. I have tried to databinding my DB in MySql but it seems that it cannot produce the data needed but the fields are there..

here is what i have done to my crystal report. i think i have missed something

View 1 Replies

DB/Reporting :: Creating Crystal Report From Two Tables?

Dec 20, 2011

I am trying to load a crystal report from two tables but it seems that is not working.Here is the code to load the crystal report:

Code:
Private Sub InvoiceLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[code]......

View 1 Replies

DB/Reporting :: Creating Reports Without Crystal Report?

Mar 2, 2010

I am using VS 2008 standard edition to develop my first windows form application and it does not come with crystal components. I nedd to design few reports but I can't find any help on the net. In my vba application I create one form which accepts all parameters and based on parameter I build SQL statement and pass it to report data source. I would like to similar in vb.net, but all I see is cryatal. Can I create reports without Crystal?

View 1 Replies

How To Print Using The Printdocument Or Creating A Crystal Report

Apr 7, 2010

i have a printing to do and there are several ways to print.i know how to print using the printdocument or creating a crystal report and print or transfer the data into an excel sheet and then print(but it needs the excel to be installed in the host computer)but i cant understand which one is the best and mostly preferred.

View 8 Replies

IDE :: Tool For Creating A Report From A Text File?

Nov 16, 2009

Is there any tool I can use to create a report from a pipe-delimited file? This report will need to have multiple fonts on the same line and be "programmable". I need to be able to loop through a section to output detail data to the report, keeping track of how many records are output.

View 3 Replies

Creating A Multipage Excel Report In A Single Worksheet Using .Net?

Jun 4, 2010

I am creating a multipage excel report in a single worksheet using VB.Net. I need to display group header information at the top of every page. check whether a cell is the first cell of a page or not.

View 3 Replies

Creating Report For User To Print - Library Not Registered

Oct 26, 2009

I am using vb 2005 and word 2000. I use word to create a report that the user can print. When I click on the print button, I get the error "Library not registered." I am using clickonce to publish the app. This error only happens on 2 vista machines and xp works fine.

vb.net
Public oWord As New Word.Application
Public oDoc As Word.Document
Public oTable1 As Word.Table
Public oTable2 As Word.Table
Public oTable3 As Word.Table
[Code] .....

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved