Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Grid Control & Crystal Report

Posted on 1998-10-05
1
Medium Priority
?
312 Views
Last Modified: 2013-12-26
Greetings of peace and happiness ...
Hi,
1st Question.
I didn't do programming for some time. I did one program using VB 4. Now, when i open in VB 5, the Grid Control automatically become Picture box control. Is there any ways so that i can directly convert to MS-Flex grid. Or can i maintain with Grid Control in VB5.

2nd Question.
  One field name in the table is called flag. Flag will have 0,1,2. But when i print in the crystal report, i want to replace with other text (e.g. in, out, return) instead of 0,1,2.
How can i do that?

Thank you.
Bye.
0
Comment
Question by:pandav
[X]
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
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 100 total points
ID: 1487360
1st
The reason is that the grid32.ocx is not installed and registered. Install it and register it, you will be able to load your project under VB5.
For the upgrade to MSFlexGrid, you could do, but you have to change the code in consequences.

2nd
Write a formula, (this is an example)

 if {flag} = 0 then
    "Flag 0"
 else
 if {flag} = 1 then
    "Flag 1"
 else
 if {flag} = 2 then
    "Flag 2";

I have not check the formula, but it is like that that I do in my projects
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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

636 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