Solved

Grid Control & Crystal Report

Posted on 1998-10-05
1
303 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
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 50 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

18 Experts available now in Live!

Get 1:1 Help Now