Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-10-04
3
Medium Priority
?
261 Views
Last Modified: 2010-04-17
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

0
Comment
Question by:wbmsc
3 Comments
 
LVL 1

Accepted Solution

by:
dukeec earned 600 total points
ID: 12269298
use txtNo1.text = "David" and so forth for the strings
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Starting up a Project

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question