Click here to Skip to main content
15,900,254 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cover a form and it no longer updates Pin
Tom Deketelaere13-Jan-10 3:58
professionalTom Deketelaere13-Jan-10 3:58 
GeneralRe: Cover a form and it no longer updates Pin
Gregory Gadow13-Jan-10 5:15
Gregory Gadow13-Jan-10 5:15 
GeneralRe: Cover a form and it no longer updates Pin
Tom Deketelaere13-Jan-10 5:27
professionalTom Deketelaere13-Jan-10 5:27 
GeneralRe: Cover a form and it no longer updates Pin
Luc Pattyn13-Jan-10 5:31
sitebuilderLuc Pattyn13-Jan-10 5:31 
GeneralRe: Cover a form and it no longer updates Pin
Gregory Gadow13-Jan-10 5:57
Gregory Gadow13-Jan-10 5:57 
GeneralRe: Cover a form and it no longer updates Pin
Tom Deketelaere13-Jan-10 3:57
professionalTom Deketelaere13-Jan-10 3:57 
GeneralRe: Cover a form and it no longer updates Pin
Gregory Gadow13-Jan-10 5:18
Gregory Gadow13-Jan-10 5:18 
QuestionVB+Crystal Report Problem Pin
Tufail Ahmad11-Jan-10 21:32
Tufail Ahmad11-Jan-10 21:32 
using VB6 and Crystal Report10, Report X contains subreport Y and Z (e.g)
When i click button, it gives error as
"Query Engin Error 'Error Code: 0x800a0e78'
Source Adodb.RecordSet
Description: Operation is not allowed when the object is Closed"
NOTE: When i use break point and parse line be line, then it works fine.

My Code is as:

Public Function ShowNELogReport(ByRef rsNELog As ADODB.Recordset, ByRef rsPower As ADODB.Recordset, ByRef rsSystemStatus As ADODB.Recordset, ByRef rsRequirement As ADODB.Recordset)

Dim Report As New rptLogMain
On Error GoTo Err
With rsNELog
If Not (.BOF Or .EOF) Then
.MoveLast
.MoveNext

'Report.Database.SetDataSource rsSearchReport
Report.Database.SetDataSource rsNELog
Debug.Print Report.Database.Tables.Item(1).Name
'Report.ReadRecords

Report.Subreport1.OpenSubreport.Database.SetDataSource rsPower
Report.Subreport2.OpenSubreport.Database.SetDataSource rsRequirement
Report.Subreport3.OpenSubreport.Database.SetDataSource rsSystemStatus
crViewer.ReportSource = Report


crViewer.ViewReport

Else
MsgBox "Record Not Found", vbInformation
Unload Me
End If
End With
Exit Function
Err:
MsgBox Err.Description
End Function
QuestionAbout Public Arrays in VB Pin
Niungareamit11-Jan-10 21:17
Niungareamit11-Jan-10 21:17 
AnswerRe: About Public Arrays in VB Pin
Wayne Gaylard12-Jan-10 2:37
professionalWayne Gaylard12-Jan-10 2:37 
AnswerRe: About Public Arrays in VB Pin
Ray Cassick12-Jan-10 6:53
Ray Cassick12-Jan-10 6:53 
GeneralRe: About Public Arrays in VB Pin
Ian Shlasko12-Jan-10 11:11
Ian Shlasko12-Jan-10 11:11 
GeneralRe: About Public Arrays in VB Pin
MikeMarq12-Jan-10 12:10
MikeMarq12-Jan-10 12:10 
GeneralRe: About Public Arrays in VB Pin
Ray Cassick12-Jan-10 14:14
Ray Cassick12-Jan-10 14:14 
GeneralRe: About Public Arrays in VB Pin
Wayne Gaylard12-Jan-10 21:05
professionalWayne Gaylard12-Jan-10 21:05 
Questionset WaitCursor without a form running Pin
JW73811-Jan-10 9:12
JW73811-Jan-10 9:12 
AnswerRe: set WaitCursor without a form running Pin
nlarson1111-Jan-10 10:10
nlarson1111-Jan-10 10:10 
GeneralRe: set WaitCursor without a form running Pin
JW73811-Jan-10 10:44
JW73811-Jan-10 10:44 
AnswerRe: set WaitCursor without a form running Pin
Luc Pattyn11-Jan-10 11:04
sitebuilderLuc Pattyn11-Jan-10 11:04 
GeneralRe: set WaitCursor without a form running Pin
JW73811-Jan-10 23:02
JW73811-Jan-10 23:02 
QuestionPrint each row of database on crystal report. !! Pin
jeshra27911-Jan-10 5:31
jeshra27911-Jan-10 5:31 
AnswerRe: Print each row of database on crystal report. !! Pin
Paramu197311-Jan-10 20:54
Paramu197311-Jan-10 20:54 
Questionconverting matlab codes to vb codes?? Pin
sheshe8811-Jan-10 5:16
sheshe8811-Jan-10 5:16 
AnswerRe: converting matlab codes to vb codes?? Pin
Dave Kreskowiak11-Jan-10 6:17
mveDave Kreskowiak11-Jan-10 6:17 
QuestionContext Menu Event setup Pin
JaeBeam11-Jan-10 3:23
JaeBeam11-Jan-10 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.