Results 1 to 6 of 6

Thread: Please I will like to create a data report in vb 6.0

  1. #1
    Join Date
    Mar 2009
    Location
    Ghana
    Posts
    15

    Please I will like to create a data report in vb 6.0

    I am developing an application in vb 6.0 and i would like to create a report with Data report but i don't want the paper size to be the A4 size as it is. Please can I get help on this.

  2. #2
    Join Date
    Aug 2007
    Posts
    1,098

    Re: Please I will like to create a data report in vb 6.0

    try here hope you will get some help http://support.microsoft.com/default...96&Product=vbb

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Please I will like to create a data report in vb 6.0

    Please go through the attachment having some codes that changes the paper size to any way you want.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Please I will like to create a data report in vb 6.0

    Data report to be used with dataenvironment. First set the command property of dataenvironment property to esql

    dim esql as string, god as string, good as string,Date1 as string
    god=chr(39)
    good=chr(35)
    Date1 = Format(#10/3/2000#, "MM-DD-yy") ' you need to match formats
    'or Date1=Format(TxtDate,"MM-DD-YY")

    esql="select Trader,Broker from tblOrders where trader=" & god & txtTrader & god & " And Trading_Date=" & good & Date1 & good

    set the datareports's datasource to dataenvironment at design time , not runtime.

  5. #5
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Please I will like to create a data report in vb 6.0

    Go to Project and choose More ActiveX Designers. Now choose Data Environment. Once opened - right click on Connection1 and choose Properties. Choose Microsoft Jet 4.0 OLE DB. Now, click the button to the right where you see 1. Select or enter a database name. Go to the location where you'd saved your database and double click. Check or Test your connection. If everything is on track you'll see a messagebox with the message "Test Connection Succeeded". Click OK. Right click on connection again but this time choose Add Command. Now right click on Command1 and click Properties. Set the DatabaseObject to Table and then set the ObjectName to Customers. Click Apply and then click OK.

  6. #6
    greenblue Guest

    Re: Please I will like to create a data report in vb 6.0

    You can use RAQ Report. RAQ Report is a free reporting tool. Design interface of RAQ Report is similar to EXCEL as shown below:



Similar Threads

  1. Which is best, Data report or Crystal report?
    By Smita.bendal in forum Software Development
    Replies: 5
    Last Post: 11-03-2010, 02:42 AM
  2. How to create reports using Crystal Report 10?
    By Chandraa in forum Windows Software
    Replies: 4
    Last Post: 07-01-2010, 08:14 PM
  3. The wizard is unable to create your report
    By Jerin m in forum Windows Software
    Replies: 3
    Last Post: 02-09-2009, 07:47 PM
  4. Create Crystal Report from Excel
    By Harshini in forum Software Development
    Replies: 3
    Last Post: 04-05-2009, 02:09 PM
  5. How to create a Pivot Table report
    By Computer_Freak in forum Tips & Tweaks
    Replies: 1
    Last Post: 14-03-2009, 06:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,568,088.72610 seconds with 17 queries