Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating database from Infoview does not work

Status
Not open for further replies.

evdhout

Programmer
Mar 27, 2006
3
NL
Hello,

I want to update some fields in an Oracle database when printing a Crystal Report. I did the following :

1. Database expert
2. Create New Connection
3. Oracle Server
4. 'Add Command'

I entered the following SQL command :

UPDATE CUS_LOC
SET NAME = 'B'
WHERE NAME = 'A'

When I execute the report from Crystal Reports XI Release 2 (version 11.5.3.417) this works fine. However, when I save the report to Infoview the database is not updated after the report.

Does anyone know why this is not working?

Thanks.
 
evdhout,

I do not see a COMMIT command anywhere in your code. If you do not commit, then none of the changes take effect.

Please advise.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top