Results 1 to 6 of 6

Thread: Help on Search Form w/ Print

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    6

    Help on Search Form w/ Print

    Hi guys..! I have a search form my inventory system... My problem is how can i display the ones i searched on the data report...

    can anyone help me on this..?

    Specification of my program:
    1. VB6 coding
    2. Access Database

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Help on Search Form w/ Print

    Please provide more details and also what code are you using for the searching part ?

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    6

    Re: Help on Search Form w/ Print

    Quote Originally Posted by akhileshbc View Post
    Please provide more details and also what code are you using for the searching part ?
    Well, the code that i'm using is VB6...
    The details are these:
    textbox
    combo box
    data grid
    find button
    cancel button
    ok button
    print button

    these is the process:
    1. typing the what i need to search to the textbox.
    2. then, in combo box selecting the key item which is in the access database. example, if i type Horror then i'll select in the combo box the choice is book.
    3. after that, all the horror books will be displayed on the datagrid.
    4. (problem) print

  4. #4
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Help on Search Form w/ Print

    4. Iterate through each row of the DataGrid and use the Printer object to print the contents.

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    6

    Re: Help on Search Form w/ Print

    Quote Originally Posted by Doogle View Post
    4. Iterate through each row of the DataGrid and use the Printer object to print the contents.
    how? i dont know how to do that...

  6. #6
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Help on Search Form w/ Print

    There's a tutorial on using the Data Grid control here: http://www.vb6.us/tutorials/database...ntrol-tutorial

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