Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to writeback to the database without using webservice? Please guide.

How to writeback to the database without using webservice? Please guide.

8 Replies
Not applicable
Author

Hi snehal,

Can you please elaborate more on what are you trying to do? That would be really helpful to solve your problem.

Regards,

KC

Anonymous
Not applicable
Author

You are talking about general Database scenario or Qlik scenario?

Not applicable
Author

Hi,

In Qlik Scenario,

Some selections are made in Qv and the same should be updated in the database on click of a button.

Anonymous
Not applicable
Author

QV is a analytical tool, it does not allow you to edit/insert/update data in database as per my understanding

vikasmahajan

Hope this help you https://community.qlik.com/docs/DOC-6386

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

Hi Vikas,

The link you have shared describes has details for the script level writeback.

I would like to know if the writeback can be performed without the use of webservice from the accesspoint/UI.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can write a macro that uses ADO to do the SQL work. I'm not sure (doubtful) that this would work on an Ajax client though.

-Rob

vikasmahajan

try with this code in VBscript

dim sConn, oConn

Set oConn = CreateObject("ADODB.Connection")

sConn = "Provider=MSDAORA;User ID="yourlogin";Password="yourpassword";Data Source="your data source";OLEDB.NET=true;SPPrmsLOB=true;Persist Security Info=False;"

oConn.Open sConn

sSQL="your request"

oConn.Execute(sSQL)

oConn.Close

Set oConn = Nothing

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.