Unix Technical Forum

Crystal Report and PLSQL

This is a discussion on Crystal Report and PLSQL within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Is it possible to use Crystal Report and PLSQL code to write back to base tables....


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 11:19 AM
sandya
 
Posts: n/a
Default Crystal Report and PLSQL

Is it possible to use Crystal Report and PLSQL code to write back to
base tables.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 11:19 AM
DA Morgan
 
Posts: n/a
Default Re: Crystal Report and PLSQL

sandya wrote:
> Is it possible to use Crystal Report and PLSQL code to write back to
> base tables.


Yes and no.

You can use Crystal Reports to run stored procedures and REF CURSORS
to pass information back to Crystal. But it not exactly a substitute
for a real front-end.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 11:19 AM
sandya
 
Posts: n/a
Default Re: Crystal Report and PLSQL

On Feb 17, 10:43 pm, DA Morgan <damor...@psoug.org> wrote:
> sandya wrote:
> > Is it possible to useCrystalReportand PLSQL code to write back to
> > base tables.

>
> Yes and no.
>
> You can useCrystalReports to run stored procedures and REF CURSORS
> to pass information back toCrystal. But it not exactly a substitute
> for a real front-end.
> --
> Daniel A. Morgan
> University of Washington
> damor...@x.washington.edu
> (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org


When I am trying to update the base table it gives me the following
error:

Database connector error: 'HY000:[Oracle][ODBC][Ora]ORA-01456:may not
perform insert//delete/update/ operation on READ ONLY transactions.

Some where I read that I need to change some environment variable to
make transactions read/write. Since I am new to the Crystal Report I
dont know about environment variable. Could you please tell me how is
it done or is there any other solution to it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 11:20 AM
DA Morgan
 
Posts: n/a
Default Re: Crystal Report and PLSQL

sandya wrote:
> On Feb 17, 10:43 pm, DA Morgan <damor...@psoug.org> wrote:
>> sandya wrote:
>>> Is it possible to useCrystalReportand PLSQL code to write back to
>>> base tables.

>> Yes and no.
>>
>> You can useCrystalReports to run stored procedures and REF CURSORS
>> to pass information back toCrystal. But it not exactly a substitute
>> for a real front-end.
>> --
>> Daniel A. Morgan
>> University of Washington
>> damor...@x.washington.edu
>> (replace x with u to respond)
>> Puget Sound Oracle Users Groupwww.psoug.org

>
> When I am trying to update the base table it gives me the following
> error:
>
> Database connector error: 'HY000:[Oracle][ODBC][Ora]ORA-01456:may not
> perform insert//delete/update/ operation on READ ONLY transactions.
>
> Some where I read that I need to change some environment variable to
> make transactions read/write. Since I am new to the Crystal Report I
> dont know about environment variable. Could you please tell me how is
> it done or is there any other solution to it.


Crystal Reports is a REPORT WRITER ... not a front-end application.
What on earth are you doing?

If you put your UPDATE into a stored procedure and execute the proc
it will do the update. But from what I see here you are trying to
bypass every rational measure of security and database integrity.
Does your DBA know what you are doing?
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com