Solved

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

Posted on 2004-10-04
3
234 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

11 Experts available now in Live!

Get 1:1 Help Now