Solved

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

Posted on 2007-04-09
8
222 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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