HOW TO CONTROL THE SEQUENTIAL TEXTBOX WITH CRYSTAL REPORT IN VISUAL BASIC?

Hi all,

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

B Rgds,
Kenny Wong

wbmscAsked:
Who is Participating?
 
dukeecConnect With a Mentor Commented:
use txtNo1.text = "David" and so forth for the strings
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.