Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Report with loop count on textboxes...

$
0
0
Hi fellow users,

I'm having problems in creating report where the one textbox sole purpose is to output the calculated loop number.

For example, I counted how many are there in my data table supposed to be outputted in between the user defined dates (This one's fine, no problem encountered so far!). Next, using FOR LOOP, the mentioned textbox will output the calculations done on the loop.

The code is written in Detail On_Print() event of the report:

Dim i as Integer
For i = 0 To CountedDateByDate Step 1
txtCNumber = i
Next i

What could possibly the problem? Could it be in the FOR LOOP?
Thanks for any helpful replies and answers...

Viewing all articles
Browse latest Browse all 13329

Trending Articles