HOW TO CONTROL THE SEQUENTIAL TEXTBOX WITH CRYSTAL REPORT IN VISUAL BASIC?
Posted on 2004-10-04
I have over 30 textboxes within a typical crystal report (RDC) in visual basic 6.0. And I would like to pass one string during retrieving the data from the database (for next looping) to txtNo1, txtNo2, txtNo3, txtNo4, txtNo5 in a similar way. I have searched over thru Internet and tried to use something like For-Each-Controls statement, and it still failed. Besides, I also cannot use control array since crystal report does not allow you to use control array and index-like stuff within reports.
In simply, how can I do the following (Prerequistics: over 30 textbox withn Crystal Report under visual basic 6 environment) ??
string "David" ---> txtNo1
string "Peter" ---> txtNo2
string "Microsoft" ---> txtNo3
string "IBM" ---> txtNo4