Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: problem in refreshing report data


Message #1 by Harshang Pandya <harshangp@y...> on Fri, 25 Jan 2002 06:21:34 -0800 (PST)
Here is source code. I am not saving data with the
report. Everything runs fine but sometimes, I don't
get records with the report while showing with visual
basic and I can't refresh the report from visual basic

frmReport.cryrpt.ReportFileName = App.Path &
"\reports\Report2.rpt"
frmReport.cryrpt.SQLQuery = "SELECT  * From
`tblReport21` Order By tblReport21.`InvoiceCode` ASC"
frmReport.cryrpt.Destination = crptToWindow
frmReport.cryrpt.WindowShowRefreshBtn = True
frmReport.cryrpt.Action = 1

-Harshang


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

  Return to Index