Conituation of VB question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Conituation of VB question

  1. #1
    Belinda Guest

    Conituation of VB question


    Sorry, I accidentally hit the enter button before I finished. I need to utilize
    an array to hold valid values for hourly wages. If the rate entered is not
    valid a message needs to be printed that the rate is invalid. If the value
    matches one found in the table then the individuals wages and such will
    be printed. The valid rate of pay must be stored in an array. Out put will
    be sent to the printer using the printer.print and ending with printer.enddoc
    to eject. The error message can only contain the persons name and and the
    error message "invalid rate of pay". Once all of the records have been processed
    the program should print a total line that contains the total number of payroll,
    number of valid employees and the total hours worked. The final report should
    also print the number of error records. All output needs to be sent to the
    printer making sure to maintain decimal alignment for the column totals.
    Can anyone help???? THANKS!!!!!

  2. #2
    Dane Guest

    Re: Conituation of VB question


    Sometimes to validate my data on the form, instead of trying to validate data
    as the user selects it,
    I restrict input or validate data when the data is read. In this case I would
    write a routine
    that reads in the data, possible checking for unique values and then loads
    the data into a Combo box(es).
    There is a style property of the combo box that can be set to 2 - dropdown
    list
    this will restrict the user to only select what is in the combo box. Hope
    this helps


    "Belinda" <Belinda501@aol.com> wrote:
    >
    >Sorry, I accidentally hit the enter button before I finished. I need to

    utilize
    >an array to hold valid values for hourly wages. If the rate entered is

    not
    >valid a message needs to be printed that the rate is invalid. If the value
    >matches one found in the table then the individuals wages and such will
    >be printed. The valid rate of pay must be stored in an array. Out put

    will
    >be sent to the printer using the printer.print and ending with printer.enddoc
    >to eject. The error message can only contain the persons name and and

    the
    >error message "invalid rate of pay". Once all of the records have been

    processed
    >the program should print a total line that contains the total number of

    payroll,
    >number of valid employees and the total hours worked. The final report

    should
    >also print the number of error records. All output needs to be sent to the
    >printer making sure to maintain decimal alignment for the column totals.
    > Can anyone help???? THANKS!!!!!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center