Our Leader, as a pup
  MakeWork

'Version 5.0.2.91 May 31, 2005
'  Special printing for RPR and FTA-ABS was being ignored
' QC did not allow an '  fixed...
'QC comments did not print...the program will not check for comments and print any..
'-----------------------------------------
'Version 5.0.2.89 May 27, 2005
'  PrintOnly was writing to the database, it was supposed to skip the write
'-----------------------------------------
'Version 5.0.2.88 May 26, 2005 -  Jim
'  Performance improvement - restrict signon access query in FindAccessForTest to the current staffid rows
'-----------------------------------------
'Version 5.0.2.87 May 24, 2005
'Added Bacteriology and Enteric worksheets designed by Monterey
'Re-attached TB BioChem worksheets
'-----------------------------------------
'Version 5.0.2.85 May 18, 2005
'Added Line Counter to TB culture, to insure printing of culture worksheets
'-----------------------------------------
'Version 5.0.2.83 May 12, 2005
'Added User defineable barcode fonts
'Fixed definitions of TB Drugs
'-----------------------------------------
'Version 5.0.2.81 May 3, 2005
'Added printflags..Access by clicking on Maintenance, then PrintOpts
'-----------------------------------------
'Version 5.0.2.79 April 21, 2005
'Checking for Discrepants was using Specimen Pointer, not TestID Pointer
'--------------------------------------------
'Version 5.0.2.77 April 6, 2005
'SQL Call checking for InUse and Branch were not pointing to a specific dataset
'--------------------------------------------
'Version 5.0.2.75 March 31, 2005
'Tests marked as "Not in Use " were being checked for Discrepants
'--------------------------------------------
'Version 5.0.2.73 March 27, 2005
'Cultured by not printed for TB Cultures
'CULTURED by         ______________________      Date Cultured: _____________________
'SLIDES READ by      ______________________    Date READ:     _____________________
'This is hard coded in, if anyone wants it as a variable, we can change it
'--------------------------------------------
'Version 5.0.2.71 March 25, 2005
'Print Sign By was not active for TB
'--------------------------------------------
'Version 5.0.2.69 March 21, 2005
'Print Options for TB and Myco headers would fail if the headers were blank...fixed
'--------------------------------------------
'Version 5.0.2.67 March 16, 2005
'Searching for two letter flags was not working...had to Trim() the flags to remove extra spaces so comparsions could be made against stored 3 letter flags
'--------------------------------------------
'Version 5.0.2.65 March 15, 2005
'Fixed printing of StrepB,CTDFA, Enteric (Marin) Worksheets
'Fixed access Bact Worksheets other then the Enteric Worksheet
'--------------------------------------------
'Version 5.0.2.63  March 9, 2005
'Added Pos/Low/Neg and Neg/Low/Pos as worksheet control options
'------------------------------------
 

'Version 5.0.2.61  March 9, 2005
'Custorm Control Name was off by one column, bug introduced when adding Inuse [x] check box in the grid.
'------------------------------------
'Version 5.0.2.59  March 8, 2005
'Run Control was off by one column, bug introduced when adding Inuse [x] check box in the grid.
'------------------------------------
'Version 5.0.2.57  March 1, 2005
'Control order (Maintenance Tab) was pointing at the wrong code
'-------------------------------------
'Version 5.0.2.55  Feburary 28, 2005
'Added check boxes to take tests out of a run
'Added Move Up/Down buttons for worksheets
'-------------------------------------
'Version 5.0.2.53  Feburary 24, 2005
'Added Maintenance option to change order of Controls from Pos/Neg to Neg/Pos etc.
'Trapped false discrepant for GC when determining discrepants for CT/GC
'-------------------------------------
'Version 5.0.2.51  Feburary 15, 2005
'Changed qualification of SQL String when saving changes in Method Types
'-------------------------------------
'Version 5.0.2.49  Feburary 7, 2005
'When Selecting the NoPrint Option and Overwriting old data, the LabResultPointer was not being passed correctly, fixed
'-------------------------------------
'Version 5.0.2.47  January 26, 2005
'Maintenance Tab, Print Opts was not saving week changes for Mycology
'-------------------------------------
'Version 5.0.2.45  January 25, 2005
'Single Headers was not printing the correct Clinic #
'-------------------------------------
'Version 5.0.2.43  January 21, 2005
'TBSmearMaster was mis identified as as string
'-------------------------------------
'Version 5.0.2.41  January 17, 2005
'Fixed Overwrite option
'Matched New Mycology Worksheet to Old Format
'removed Discrepant checking for "Bact Group" (Bact, Mycology, Parasite, etc)
'-------------------------------------
'Version 5.0.2.39  January 14, 2005
'Changed Run Setup for "BactGroup" vs Regular
'-------------------------------------
'Version 5.0.2.37  December 27, 2004
'Update BactWorksheet to match Bact Report Generator
'-------------------------------------
'Version 5.0.2.35  December 18, 2004
'Changed Bact worksheet to find "BT" and "BTW" headers
'Added Drug Susceptibility as drop down boxes in QC
'Added Quick Help to all screens
'-------------------------------------
'Version 5.0.2.33  December 10, 2004
'Added Auto update of run number for tests not already in the database, to handle new tests that may be added
'Fixed HIV-IFA as unique worksheet from HIV-EIA-Serum
'Connected "IsWorkSheet" variable to local MasterCodes dataset
'Changed Discrepant screen so it only shows if there are discrepants
'Added automatic "Single Test" to HIV-IFA and HIV WesternBlot
'-------------------------------------

Version 5.0.2.31 December 03, 2004
Attached Checking for Discrepants, allowing overwrite of old data or printing only
-------------------------------------
Version 5.0.2.29 December 01, 2004
Trapped PrintYN for LabSlips when setting up Repeats
-------------------------------------
Version 5.0.2.27 November 20, 2004
Adding drug susceptibility printing
-------------------------------------
Version 5.0.2.25 November 9, 2004
Added TestWeeks to Mycology
Changed test Assigned, so if there is no data, it wont print
--------------------------------------------
Version 5.0.2.23 November 8, 2004
Added Print Header for all routines
Made "Clear run" button enabled at all times, in case user goes back to re-do the worksheet
Added User defined Test Assigned Header and Test Requested Header
---------------------------
Version 5.0.2.21 October 15, 2004
Rubella was not in Common.vb
---------------------------
Version 5.0.2.19 October 14, 2004
Update Run Numbers was not indexed to RunBtBID..fixed
BactWorksheet page was not being called, due to change in worksheet QC names
Worksheets not being found for Santa Barbara were not indexed in MasterCodes (they were part of Santa Maria codes)
----------------------------------------
Version 5.0.2.17 October 5, 2004
Added FTA Control Header information
Fixed printing glitch for FTA 1+>4+ record boxes not showing up
Fixed glitch for controls, when trying to get additional client information
---------------------------------------------------
Version 5.0.2.15 October 3, 2004
Trapped Run # display for TB
fixed glitch with Syphilis Confirmatory Worksheets dispaly
Added Activate code for faster load times
---------------------------------
Version 5.0.2.13 October 1, 2004
Added TB Weeks to Maintenance section
Moved Media ID in TB Culture over one cell
Added printing of smear result in TB Worksheets (when the result has been entered before the worksheet is printed)
added maintenance for  identification of headers for TB and Myco to be able to find smear & Culture results
---------------------------------------------------
Version 5.0.2.11 September 29, 2004
Added Branch to Run Updates
Added Maintenance screen to review, edit all run #s
Fixed TB Culture Run (Should be TB Smear, Internally)
Added Bold to BtBTabs Selection
--------------------------------------------
 Version 5.0.2.9 September 26, 2004
Maintenance tab was not being initiated on start up
Fixed Approved/Sign, trapped invalid User response
--------------------------------------------
 Version 5.0.2.7 September 21, 2004
Fixed bug with Testname for update run #s (should have been RunTestName)
Fixed bug with clinic display...it did not allow for non-sequential click numbers...
(Needed to find MAX clinic #, not highest ClinicID #)
Activated RunNumber Button so you can change the run number for a test
(This should have been done during the update from the earlier version).
--------------------------------------
   v 5.0.2.6   09/09/2004  Jim
   Add automatic version update code
------------------------------------------------
Version 5.0.2.5 Sept 4, 2004
Fixed spelling error for Serodia-TPPA
Updated xControl with RunMaster+MasterCodes+RunDetail
Added check for 800x600 resolution monitor
-------------------------------------------
Version 5.0.2.3 August 31, 2004
Added Xcontrol table to track the  control names of tests
Fixed printed problems with Rubella, Syphilis and Hepatitis worksheets
------------------------------------
Version 5.0.2.1  August 29, 2004
Added On-screen help
Updated QC transactions
added Sort Up/Down to QC listing
Added Send Help ticket (Not activated)
-----------------------------------------------------
Updated  07/22/2004 (no version change yet)
   Rubella could not be access - Chaned "RUW" to "RU" in RubellaBut_Click

Updated  07/20/04 (5.0.1.18) Jim
   Added code to save failed logons and abort program after three tries.

Updated  07/15/04 (5.0.1.17)
Redim StaffName was too small, staff ID was not necessarily in sequence.
changed to Select Max StaffID # to insure that the array was large enough
Changed worksheet Display so the branch is printed ONLY if it is
different from the current (working) branch
TB
       Trapped spelling glitch that didnt let Fluorchrome be recognized
Mycology
       Activated Mycology screening worksheet
Lead:
       Added Lead Repeat+Low Control every 10 specimens
       and Lead Repeat +High Control every other 10 specimens
QC/Setup:
       Suppressed printing of QC header if no items were in QC to be printed
       Trapped setting up worksheet when the lab #s had not been added.
       Trapped Authorization so only those who are authorized for the individual test can continue with making a worksheet.
==============================
Updated  07/05/04 (5.0.1.15)
Added SortOrder Column to RunQC
Allowed user to change sort order of the QC list
Changed Name of BtBID to RunQCBtBID in RunQC
===================================
Updated by 06/30/04 (5.0.1.13)

Updated From 5.0.1.11 on June 28, 2004
   WhoCanSetUp and WhoCanAuthorize arrays incorrectly defined - causing object reference error
   Redim them in TestSelected