I am a newbie, have a project that requires me to take
users input of "Name" and "Pieces Completed". I must as
the book requests, after inputting all the data, have a
label display the name of the user that produces the
most "Pieces Completed". I don't know how to perform
this, even if I had the name of this type of procedure it
would help. Thanks in advance. 3 1061
"Mike Busch" <wi******@bellatlantic.net> scripsit: I am a newbie, have a project that requires me to take users input of "Name" and "Pieces Completed". I must as the book requests, after inputting all the data, have a label display the name of the user that produces the most "Pieces Completed". I don't know how to perform this, even if I had the name of this type of procedure it would help. Thanks in advance.
How do you store the (Name, Pieces Completed) pairs?
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
They are both Txt.Boxes, The Most earned is a Lbl. So
txt.Name and txt.PiecesCompleted need to have the
employee's name with the highest count of Pieces
Completed, display in the lblMostEarned. Thanks in
advance. -----Original Message----- "Mike Busch" <wi******@bellatlantic.net> scripsit: I am a newbie, have a project that requires me to take users input of "Name" and "Pieces Completed". I must as the book requests, after inputting all the data, have a label display the name of the user that produces the most "Pieces Completed". I don't know how to perform this, even if I had the name of this type of procedure
it would help. Thanks in advance.
How do you store the (Name, Pieces Completed) pairs?
-- Herfried K. Wagner MVP · VB Classic, VB.NET <http://www.mvps.org/dotnet> .
"Mike Busch" <wi******@bellatlantic.net> scripsit: They are both Txt.Boxes, The Most earned is a Lbl. So txt.Name and txt.PiecesCompleted need to have the employee's name with the highest count of Pieces Completed, display in the lblMostEarned. Thanks in advance.
\\\
Private m_PiecesCompleted As Integer
..
..
..
Dim i As Integer = Integer.Parse(Me.TextBox1.Text)
If i > m_PiecesCompleted Then
m_PiecesCompleted = i
Me.lblMostEarned.Text = m_PiecesCompleted.ToString()
Me.lblName = Me.TextBox2.Text
Else
MsgBox("Not the best")
End If
///
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Robert |
last post by:
Ref.
Windows 2000 proffessional 5.00.2195 Service pack 4
Internet explorer 6.0.2800.1106
Visual basic .NET Standard 2003
MSDN library for Visual Studio .NET 2003
Microsoft Data Access Component...
|
by: stu_gots |
last post by:
I have been losing sleep over this puzzle, and I'm convinced my train
of thought is heading in the wrong direction. It is difficult to
explain my circumstances, so I will present an identical...
|
by: Daz |
last post by:
Hello hello!
I'm trying to finish off putting my design into HTML and I've come
across a problem that I can't get my head around.
I've got divs floating in two columns, but I'm having problems...
|
by: alwayshouston |
last post by:
Hi All!
I am working on this very small database and I am confused in the
designing a simple form. I only have three tables in the database.
First Table: tblExpense
Columns: ExpenseID ;...
|
by: Brett Baisley |
last post by:
At school, we do all of our coding in emacs, but I am trying to get the
example apps working at home using Visual C++.net.
In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
|
by: VicVic |
last post by:
Dear Great Experts,
I have a problem and need your help!
We have a Flat DLL built in C++ (CCC), and on top of it, we built another
DLL built in C# (SSS), which has .Net Assembly. CCC was...
|
by: sd00 |
last post by:
Hi all, can someone give me some coding help with a problem that
*should* be really simple, yet I'm struggling with.
I need the difference between 2 times (Target / Actual)
However, these times...
|
by: davy.zou |
last post by:
I have started learning c++ and I need help. I need to write a
program, the question is as follows.
At a post office, there are a certain number of 2, 7, and 9cents
stamps, now, given a total...
|
by: GroupReader |
last post by:
We have a shared solution that is in VSS. The solution contains
several projects in addition to the main website "project".
The solution seems to work fine. All developers can open the solution...
|
by: JoeW |
last post by:
Now before I go into detail I just want to say that this is purely for
my own benefit and has no real world usage. I remember way back when
the tool for *nix systems called forkbomb was created. I...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |