• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

refresh my report usin delphi and Oracle

How can i refresh my report(using crystal report),when the program that link to report is executed and  I insert new field in the data base(oracle)?
0
hussin14
Asked:
hussin14
  • 4
  • 3
  • 2
1 Solution
 
mlmccCommented:
I assume you mean when you are designing a report you want to be able to see changes made to the table/query.

Open the report
Select DATABASE -- VERIFY DATABASE
Connect to database if required
Will see either DATABASE IS UP TO DATE
  (all fields in the report still exist/have same name & datatype, new fields are added, and fields not used that have been deleted wont show.)
OR
A chance to map fields (You deleted or changed a field that was used in the report)

good luck
mlmcc
0
 
hussin14Author Commented:
dear expert
i mean how i refresh my report to dispaly a fresh Data in database
i use DBMS Oracle
but when i refresh the report i want to logon to Server
but i can't do it
can help me
i use Delphi Enviroment
Back end  Oracle
thanx for help
0
 
hussin14Author Commented:
dear expert
i mean how i refresh my report to dispaly a fresh Data in database
i use DBMS Oracle
but when i refresh the report i want to logon to Server
but i can't do it
can help me
i use Delphi Enviroment
Back end  Oracle
thanx for help
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
mlmccCommented:
CR has a default setting to SAVE DATA WITH REPORT>  You need to turn this setting off.  

Open the report in CR.
Select FILE
Ensure SAVE DATA WITH REPORT is not checked.
Save the report.

good luck
mlmcc
0
 
hussin14Author Commented:
thanx expert
iam testing ur solution and it successful
but i met anther problem
it how i can connect to the Data Server"Oracle"
From CR
in Delphi there is Function Do this
but i don't know how it Work
the Function :
CrystalReport1.LogOnServer(const Dll:wideString;Const Server:wideString;const database:wideString;const UserId:wideString;const password:wideString)

thanx for help

0
 
mlmccCommented:
CrystalReport1.LogOnServer(const Dll:wideString;Const Server:wideString;const database:wideString;const
UserId:wideString;const password:wideString)

CrystalReport1.LogOnServer("CR ORACLE DLL";"ORACLE SERVER NAME";"DATABASE NAME";"USERID";"PASSWORD")

The CR Oracle DLL is something like p2ora.dll

mlmcc
0
 
mnyeCommented:
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.
 

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

 
If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp 

mnye
EE Cleanup Volunteer
0
 
mlmccCommented:
I thinkI provided a good hint at the answer.

mlmcc
0
 
mnyeCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/No Refund, resolved by mlcmcc

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

mnye
EE Cleanup Volunteer
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now