Results 1 to 2 of 2

Thread: Need help creating payment report... PLEASE HELP!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    11
    Hey, how's it goin'?

    Well, I'm writing a receipt program for the ISP I work for, and what I'm trying to do is this:

    When a customer comes in and pays, we enter in their name, username, how much they paid, and by what method they paid by, ie cash, check, etc.

    So, when I click on 'Print receipt', it sends the information we typed in to another form, and prints out. I want to also make a report to show a list of the people who came in on a third form. The 'Print receipt' button sends the data to the third form...

    ----

    I need to know how to go about doing this... I have created the form, and the list is to be in a frame. I'm not quite sure how to make it put in the customer's name, username, payment amt, and method... I was thinking about using labels, because they print out cleanly on the printer.

    Could someone please help me out? To clarify, I need the 'Print receipt' command button to send the information to a third form, which will give a list of all the above information in columns by type.

    Thanks

    -BLiNDPiG
    ------------------

    "I always wanted to be somebody, but I should have been more
    specific."

    BLiNDPiG-

    http://villa.lakes.com/BLiNDPiG

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Just put Properties on your form.

    into your form code put

    Code:
    Public Property Let RecietHeader(Data as string)
    
    'If you want to make sure the string is in the right format
    'Put whatever code you need here.
    
    lblHeader.Caption=Data
    
    End Property
    
    Public Property Get RecietHeader as string
    
    RecietHeader=lblHeader.Caption
    
    End Property

    Then you can put frmReciet. RecietHeader="Charge Fred Smith"

    to set the label caption in theat form. Add a Print method to it too to print it off.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width