Sunday, March 25, 2012

basic crystal

hy,

i know i work in c# and this is vb, but....

i am trying to create a very simple crystal report, with data from a database.
everything seems to work just fine, i have my data sorces in crystal, i have the fiels.... but when i run the application the report is empty, the fields from the database are empty :(

pls help

thank you very muchImpossible to say without knowing what is the type of the datasource, where the files or databases are located, how you call the report from the application, what parameters or selectionformula you pass etc. It's like writing a letter to car support "help my car won't start, what do I do to make it start".
There should be some code samples for C# in Crystal directory, maybe those will help? You can also check the Knowledge base at businessobjects.com|||so

i work with c#2005 and sql server express 2005

the database is a sql server, created from visual c# (through add conection, in server explorer, with a new data base).
database location : the win application directory
i call the report through a crystal report viewer
the report contains only a few fields from a table of the database

i can add that everything else works fine (datagridview, updates)

thank you very much

i attched the solution|||the solution|||the db|||Have you tried using SQL Profiler to find out what happens between SQL server and the client at run time? This should help you isolate the cause of problem, whether is it bad query or no query at all.|||thank you

your hint to search in examples worked.
i found out that i was not giving data to my report because of the misssing code for filling the tableadaptors that the report needed.

thank you very much

sorry for the delay

1 comment:

Unknown said...

I am glad to be here to ask for suggestions because you are all good at SQL.I have SQLserver installed on my laptop & I create an application which only insert record and update it . Here I want to run my application on another laptop within the same internet means using the same WIFI.Any advice?
print barcode in c#.net

Post a Comment