Solved

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

Posted on 2004-10-04
3
243 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 150 total points
ID: 12269298
use txtNo1.text = "David" and so forth for the strings
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now