Solved

vb .net 2003 crystal reports fields on report do not display when printed.

Posted on 2007-04-09
8
193 Views
Last Modified: 2010-05-18
I have a vb .net 20o3 crystal report that does not display information from a table with fields that I have placed on the report.

I get no errors. I am using the sa account for the database.  It is just blank where all the fields are supposed to show.  What could be the problem?
0
Comment
Question by:mphillip85
  • 5
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 18880086
Is there data?

Are you filtering the data?

What is the SQL?

What code are you using?

mlmcc
0
 

Author Comment

by:mphillip85
ID: 18880233
there is data
I am filtering the data and there is data on what I am filtering for.
Microsoft SQL
vb.net 2003

.SetDatabaseLogon("me", "you", "www.technologybytes.us", "database1")
.RecordSelectionFormula = "{WriteOff_Tracking.SAID} = "  & mySAIDnum & ";"
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18882132
If you use a local database does it work?

Are you using a single table?

Are there subreports?

mlmcc
0
 

Author Comment

by:mphillip85
ID: 18886350
I found the problem.  I was linked to a table that had no data, and I do not know how (in crystal reports) to link tables with specified requirements like you can in SQL server.  I need a LEFT JOIN, ALL ROWS FROM TABLE1.  stuff like that I do not know how to do.  So I had to create data on the fly in the table that was missing a record and then the report would populate .

Thanks
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 100

Expert Comment

by:mlmcc
ID: 18886573
Since I always build against database views, queries, or stored procedures, I don't know how to change that for sure.

In CR8 there is a VISIAUL LINKING EXPERT under the DATABASE menu
In CR XI there is a LINKS tab on the DATABASE EXPERT under the DATABASE menu

From there I can change the links

mlmcc
0
 

Author Comment

by:mphillip85
ID: 18886926
The visual linking expert, I do not find much help other than to link common fields together or tie the tables together, other than that it seems quite useless.  Am I missing something?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 18887224
The linking is just like in SQL Server.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18887480
Glad i could help

mlmcc
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

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

16 Experts available now in Live!

Get 1:1 Help Now