borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (About the corr. paper size of the report)Next Topic (Get Object Names in Crystal Environment) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Retrieve fields from stored procedure into crystal report
Poster Message
PHOENIX
Level: Protégé

Registered: 25-04-2005
Posts: 4

icon Retrieve fields from stored procedure into crystal report

hi,
i wan to retrieve the field (called pic_path)  from stored procedure (using Microsoft SQL Server 2000) and use this field to load the picture in the crystal report. and i find the difficulty to retrieve the field. is there anyone can help me?


____________________________
hai hai

25-04-2005 at 07:35 AM
View Profile Send Email to User Show All Posts | Quote Reply
Madhivanan
Level: Graduate

Registered: 02-05-2005
Posts: 10
icon Re: Retrieve fields from stored procedure into crystal report

Design a report using that stored Procedure and insert a field in the report

____________________________

Madhivanan

Failing to plan is Planning to fail

02-05-2005 at 10:03 AM
View Profile Send Email to User Show All Posts | Quote Reply
PHOENIX
Level: Protégé

Registered: 25-04-2005
Posts: 4
icon Re: Retrieve fields from stored procedure into crystal report

tq.
but how to load the picture in the crystal report by using the field from the stored procedure?


____________________________
hai hai

09-05-2005 at 05:21 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Retrieve fields from stored procedure into crystal report

If you are reffering to how to display an image if you have stored path to image in database and not the image itself, then search in this section for answer, If I am not mistaken it si somewhere in the last topics.

[Edited by Goran on 10-05-2005 at 12:21 PM GMT]

____________________________
If you find the answer helpful, please mark this topic as solved.

10-05-2005 at 11:20 AM
View Profile Send Email to User Show All Posts | Quote Reply
PHOENIX
Level: Protégé

Registered: 25-04-2005
Posts: 4
icon Re: Retrieve fields from stored procedure into crystal report

do u mean by using the LOADPICTURE function? it is not supported in the crystal report...

____________________________
hai hai

11-05-2005 at 02:07 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Retrieve fields from stored procedure into crystal report

The code IS for the crystal reports... Just search for the topic, I believe is has more than 1 10 posts in it,

____________________________
If you find the answer helpful, please mark this topic as solved.

11-05-2005 at 10:52 AM
View Profile Send Email to User Show All Posts | Quote Reply
PHOENIX
Level: Protégé

Registered: 25-04-2005
Posts: 4
icon Re: Retrieve fields from stored procedure into crystal report

this coding?

<<--
dim appl as craxdrt.application
dim rpt as craxdrt.report
dim withevents sect as craxdrt.section

' change section10 to name of the section where picture is displayed

private sub form_load()
    set appl=new craxdrt.applicaiton
    set rpt=appl.openreport(app.path & "\reportname.rpt")
    set sect=rpt.sections("Section10")
end sub


private sub sect_format(..............)
    with sect.reportobjects
        .item("picture1").setolelocation .item("fldPath").value
end sub

-->>

- this one i cant use in the crystal report but it did with the crystal report viewer


any other solutions?

____________________________
hai hai

16-05-2005 at 06:45 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Retrieve fields from stored procedure into crystal report
Previous Topic (About the corr. paper size of the report)Next Topic (Get Object Names in Crystal Environment) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder