Weird DataReport problems
- From: "Darhl Thomason" <darhlt@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 17:01:22 -0800
On my main data form, I have a cmdButton to display a DataReport. When I
click on the button (code below), it displays the data properly, but on my
main data form, it causes my "current record" label to show "-2 of 303"
(prior to hitting the cmdButton it shows "1 of 303").
But wait, there's more weirdness...if I put breakpoints on the 4 lines of
the cmdButton_Click() event, when it's done with the 3rd line (rpt.Show), my
report does not show the first record of my recordset and the "current
label" record on my main form shows "1 of 303". When I take the breakpoints
away, it reacts as stated in the paragraph above.
Private Sub cmdStoreDataReport_Click()
Set rptStoreData.DataSource = adoPrimaryRS
rptStoreData.Show
End Sub
Anyone have any ideas?
Thanks!
d
.
- Follow-Ups:
- Re: Weird DataReport problems
- From: Ralph
- Re: Weird DataReport problems
- Prev by Date: Re: Data Report help - VB6
- Next by Date: Re: VB Code to validate password strength
- Previous by thread: downloading files
- Next by thread: Re: Weird DataReport problems
- Index(es):