|
-
Feb 17th, 2008, 12:33 AM
#1
Thread Starter
New Member
[RESOLVED] How to refresh a data report (VB6)
What should i do to refresh a data report so that I can see the new entries as well?
-
Feb 17th, 2008, 01:48 PM
#2
Re: How to refresh a data report (VB6)
If you are using a DataEnvironment then you must close it's recordset.
Code:
If de1.rsCommand1.State = adStateOpen Then
de1.rsCommand1.Close
End If
DataReport1.show
-
Feb 17th, 2008, 09:05 PM
#3
Re: How to refresh a data report (VB6)
Hi,
you may view this tread...
http://www.vbforums.com/showthread.php?t=423752&highlight=data+report+refresh
There was a thread on data report refresh that has another solution..I forgot where it is...
Greg
-
Feb 18th, 2008, 11:12 AM
#4
Thread Starter
New Member
Re: [RESOLVED] How to refresh a data report (VB6)
-
Feb 18th, 2008, 09:03 PM
#5
Re: [RESOLVED] How to refresh a data report (VB6)
Hi,
Ur welcome dude.....
Greg
-
Feb 18th, 2008, 09:04 PM
#6
Re: [RESOLVED] How to refresh a data report (VB6)
You may rate this thread if my answers were helpful
Greg
-
Oct 26th, 2013, 12:51 AM
#7
New Member
Re: How to refresh a data report (VB6)
Hi,
Please read the following code which i want to use to call the specific data from database putting bank name into combobox(cboBankName).
Private Sub cmdOk_Click()
If IsNumeric(cboBankName.Text) = True Then
DataEnvironment1.cmdAnimal cboBankName.Text
dptAnimal.Show
Else
MsgBox "Please enter a valid Bank Name", "Wrong entry"
End If
End Sub
It displays an error that: "Wrong number of arguments or invalid property assignment"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|