Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

790 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