Our Leader, as a pup
  Quick Results

'Version 5.0.3.65 May 22, 2005
'Fixed writing of Print Log
'-------------------------------------------
'Version 5.0.3.63 May 13, 2005
'Final print of lead reports were not showing numeric values
'-------------------------------------------
'Version 5.0.3.61 May 06, 2005
'Reflex reports was not printing correctly...
'-------------------------------------------
'Version 5.0.3.59 May 05, 2005
'Chlamydia and GC Final printed sheets had the same display name, changed
'-------------------------------------------
'Version 5.0.3.57 April 27, 2005
'Adjusted label for Chlamydia Lab Slips to match AllSlips PrintOut
'-------------------------------------------
'Version 5.0.3.55 April 18, 2005
'Change Number in Run to only reflect tests in use
'Fixed "ADD-a-Test" to the run (SQL call was incorrect)
'------------------------------------
'Version 5.0.3.53 April 10, 2005
'Fixed a error when printing Canned Comments (Not a problem with AllSlips)
'Trapped Clinics if # is greater then the Last One in the database
'----------------------------------------------------------------
'Version 5.0.3.51 April 6, 2005
'Trapped saving of old data when the name of the test has been deleted (Master code)
'Trapped run error when Repeats are the first items in a run (after controls)
'----------------------------------------------------------------
'Version 5.0.3.49 March 15, 2005
'Matched Paragraph Printing to AllSlip Format
'----------------------------------------------------------------
 

'Version 5.0.3.47 March 3, 2005
'Added result paragraphs and 2nd paragraphs to printout
'----------------------------------------------------------------
'Version 5.0.3.45 March 1, 2005
'Matched printing of Interpretation to AllSlips
'Removed Tested by from Print Grid (Since it is not printed)
'Added option to change the batch # of any run
'----------------------------------------------------------------
'Version 5.0.3.43 February 27, 2005
'Changed QuickButtons: They now are filled from the 1st 15 items in BugNames for the test
'Changed Paragraphs to recognize IsActive
'----------------------------------------------------------------
'Version 5.0.3.41 January 29, 2005
'Added AutoApprove (from AllSlips-Maintenance) to determine which results can be approved
'Removed "Age:" from Lab Slip (no one wanted it displayed)
'----------------------------------------------------------------
'Version 5.0.3.39 January 19, 2005
'Change HIV-EIA to HIV Serum ELISA on lab slip
'Added Sex to Lab Slip
'Fixed calculation of Age in Lab Slips
'Changed the way controls are printed when printing the final sheet.
'----------------------------------------------------------------
'Version 5.0.3.37 January 18, 2005
'Added option to NOT print Date Ordered in Lab Slip
'----------------------------------------------------------------
'Version 5.0.3.35 January 14, 2005
'Changed Final Date if Negative to options:
'  FinalDate if Negative
'  FinalDate All
'  FinalDate None
'to handle the situations were positives are not repeated (i.e. all tests are final)
'----------------------------------------------------------------
'Version 5.0.3.33 January 12, 2005
'Updated Test date after adding Lead Results as a number (also for Drugs of Abuse)
'----------------------------------------------------------------
'Version 5.0.3.31 January 12, 2005
'Fixed problem when entering grid for Lead testing to NOT calculate a reading if "worksheet" made
'Fixed problem updating final date when approving tests
'----------------------------------------------------------------
'Version 5.0.3.29 January 11, 2005
'Changed way Update Final Date if Negative is written
'----------------------------------------------------------------
'Version 5.0.3.27 January 10, 2005
'Changed FindRange to < # from <= and ># from >=#
'Added warning message if the tests have not been approved before printing
'Fixed display of last lead result if it is negative in resultgrid
'------------------------------
'Version 5.0.3.25 January 04, 2005
'Moved Tested by to Save screen so it can be updated more easily
'Added blank row to testedby if old pre-SQL results are re-saved
'Re-organized Automatic Final date for Lead testing
'Added display of final date for visual confirmation
'------------------------------------------
'Version 5.0.3.23 January 03, 2005
'Fixed Printing of Client # on lab slip
'------------------------------------------
'Version 5.0.3.21 December 23, 2004
'Trapped -1 reading for controls
'Update BugNames to allow for blank numeric Result
'Fixed printing of Reflex Lab Slips
'Added "Copy Type" to Lab Slips
'-----------------------------------------------
'Version 5.0.3.19 December 16, 2004
'Fixed null pointer when setting up External Controls in a run
'-----------------------------------------------
'Version 5.0.3.17 December 10,2004
'Trapped quick buttons for Lead results that are not +,- or Ind. For these Qbuttons, the result is saved and no # is recorded.
'Trapped display of -1 reading values (i.e. no test ever entered)
'Fixed HIV IFA button
'Added Tested by and Accepted to Controls in run
'-------------------------------------------
'Version 5.0.3.15 December 09,2004
'Result NOT for Lead and Drugs of abuse was trying to read from cutoff column which does not exist
'-------------------------------------------
'Version 5.0.3.13 December 3,2004
'Added ability to list tests by Date or Batch #, Ascending or Descending
'Added Range display for Lead and Drugs of abuse
'Changed all "Signed by" to "Tested by" for consistency
'Changed "Result" to "Interpretation" for Lead
'Fixed problem printing final date on lab slips
'------------------------------------------
'Version 5.0.3.11 December 1,2004
'Added check for printing when adding repeats to the run interactively
'Changed screen to simple message box when sending test to be approved
'Allowed only one lab slip to be printed when multiple reports generated...
'----------------------------------------------
'Version 5.0.3.09 November 30, 2004
'Printing a run was storing the "PrintedBy" information off, by not allowing for unprinted controls
'----------------------------------------------

Version 5.0.3.07 November 25, 2004
Fixed display and saving of "Approved by"
Default paragraphs were mis-applied, fixed
----------------------------------------------
Version 5.0.3.05 November 21, 2004
Changed reference for worksheet to MasterBtBId and dropped Worksheet Title as key
Added Specimen Name to LabSlip printing
----------------------------------------------
Version 5.0.3.03 November 11, 2004
Fixed Interpetation on lab slip printing
-----------------------------------------
Version 5.0.3.01 November 8, 2004
Added AutoReflex option
-----------------------------------------
Version 5.0.2.17 October 29, 2004
Trapped printGrid for >50 items
Added UserDefined names for TestAssigned and Test Requested
Added Units to print out for Lead and Drugs of Abuse
-----------------------------------------
Version 5.0.2.15 October 18, 2004
DateOrderedText was not being filled from dataset
Option to print only one printed by name not being updated if new...
-----------------------------------------
Version 5.0.2.13 October 5, 2004
Auto update of print options was off one column
SaveSuccess counter removed to allow for printing without saving
-------------------------------------------
Version 5.0.2.11 October 1, 2004
Trapped Clinic address, if not city, state, zip, then dont print the line
Changed "Click to Approve" in code to "Click to Sign!"
added  <Continue without saving> to Save run in case the user comes back to a previously saved run...
Me.calledby.Visible=False added to activate
-------------------------------------------
Version 5.0.2.9 September 29, 2004
Updated LprintSingleHeader to match AllSlips
Added BOLD to select BtBTab
------------------------------------------------------
Version 5.0.2.7  September 25, 2004
Added CopyType to Print Section
Changed "Header" to "Test Name" in printout
Added TestedBy to replace ApprovedBy
Changed Finalized by to  ApprovedBy
OtherID was not being sent to printer
Linked PrintLabel  (Lab Slip) to test name so the label would stick if the worklabel changed.
--------------------------------------------
Version 5.0.2.5  September 23, 2004
Fixed TestType in Approve Trak (Some were not updated when the column was added for Rabies and Water)
Trapped IsControl for ApproveTrak when recording printing slips
Added Version # to Status bar
Fixed Final Print list (Approved by was not being displayed)
Added TestName to RunMaster as per Jim
----------------------------------------------------------------------------------------------------------
   v 5.0.2.4   09/09/2004  Jim
   Add automatic version update code
   Add scaling for screen for 800x600 resolution
----------------------------------------------------------------------------------------------------------
Ver 5.0.2.3, Sept 5 ,2004
Updated XControls with MasterCodes, RunDetail, RunMaster
Fixed Titer box to make it easier to add results.
Added button to send approval to another person.
----------------------------------------------------------------------------------------------------------
Ver 5.0.2.1  August 30, 2004
Fixed add new tests and Controls to run
Added External Control Table (XControl)
Updated ApproveTrak to be able to approve External Controls
Added HelpTicket Links (Diabled)
Added Help Screens Connections
----------------------------------------------------------------------------------------------------------
Ver 5.0.1.21 August 27, 2004
Fixed transaction loop with Getting Bug Names for Interpretation during save
----------------------------------------------------------------------------------------------------------
Ver 5.0.1.19   August 22, 2004
Changed Reportable Link from bit to boolean and
trapped results so if it is reportable then the test is flag in the result row.
----------------------------------------------------------------------------------------------------------
Vers 5.0.1.17  August 19, 2004
Added Paragraphs to BugNames
----------------------------------------------------------------------------------------------------------
Update 7-30-04 5.0.1.15
Added code to trap new localOptions...if not filled out by convert program
it is updated here..
Joined ALM and Staff tables in the dataset so the Queries would work correctly
Added sort by Date Entered for display of approveTrak print on lab slip
  Added TestName to PrintLog
Added ApprovedBy and Finalized by to Lab Test to make the Search program run faster
----------------------------------------------------------------------------------------------------------
Update 7-23-04 5.0.1.13
   Added ApproveTrak to the Designer
   Changed Approval scheme to allow a 3rd person to approve
   the test, but removed lab printing until that test is approved or finalized
   in ApproveTrak.net
 Added trap for results not added ("Worksheet made") to make sure that
 all tests in the run have been added.
When loading staff tables, added code to make sure the staff member is active
Updated by Jim 07-19-2004  ver 5.0.1.12
   Modified retrieval of information in GetLabGrid routine
   to improve performance. Now uses internal dataset and single join
   Added code to approve logon to record failed logons and fix passtries.  It was aborting on a bad password.
   Added code to approve logon to close program after 3 failed attempts.
----------------------------------------------------------------------------------------------------------
Updated by Bob 7-5-4/7-9-4 ver 5.0.1.11
Added AboutWho to Aboutbox
Disabled MenuBranch if NumBranches-1
Add Frame box, last lab # now relates to FullYear
Removed GridLab Column 1 (3-letter Lab Display) if NumberBranches-1
Changed ResultGridColumn 6 to Visible if Pb-true and used it to record real #s
All Other columns above 6, moved up one.
LeadLowESA and LeadHighESA loaded from LocalOptions (Sub GetBloodLead)
and placed into LeadLowBut and LeadHighBut
Trapped < and > for PB, If TestValue >HighESA (i.e. 71) then use ">"+HighESA
If TestValue <LowESA (i.e. "0") then Use "<"+LowESA
Deleted RunQC.XSD since it had no function in the program