Discussion

saving data into a data table from clipboard

I'm unable to save a data that is populated into a clipboard into a data table we are already having. What we are trying to do is to take some fields from a UI form and save it into a datatable. can anyone give a suggestion on this.

Thanking you in advance :)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

August 11, 2011 - 5:13am

have u tried Obj-Save for saving data to datatables?

Regards
Jatin S

August 11, 2011 - 2:41pm

ya i have tried that one but not working out for me

August 12, 2011 - 9:43am

Are you adding a new row or updating an existing one?
When adding a new row make sure that you generate the row ID and that there is no primary key conflict? Also, make sure that all the deferred save are committed to the DB.

August 12, 2011 - 3:49pm

quote:


Originally posted by ARJUNPIN2

ya i have tried that one but not working out for me

Have you checked "Write Now?" checkbox?...this is to commit your changes.

September 7, 2012 - 3:43pm

Were you able to add it or you are still looking for help?

December 5, 2013 - 1:43am

Hi,

I want to fetch details from a datatable and update them, and save again to the datatable. For this i have created an activity with

OBJ-open

property-set

obj-save

But  its not working out. Please help.

December 5, 2013 - 3:17am

I guess you forgot to mention commitwitherrorhandling after obj-save.

 

December 5, 2013 - 7:19am

Without commit step, you can't store the data into DB though your activity works perfectly.

December 16, 2013 - 9:54am

Hi,

What is the difference between  the  activity "Save"  and the method "Obj-Save" ?

 

February 10, 2016 - 12:35pm

Can someone show me step by step guide to store the clipboard data to data table with the obj-Save action.

May 20, 2016 - 7:21am

Hi,

The Obj-Save method uses properties on the page to derive the internal key under which it will be saved. This method can create a new database instance or overwrite a previous instance with that key.
Obj-Save method does not always cause the object to be written immediately to the database. Often, developers use this method perform a "deferred write" operation. In such cases, later execution of the Commit method, in the same Thread, completes the database update.
You can reverse the effect of an Obj-Save method — if it has not yet been committed — with the Obj-Save-Cancel or the Rollback method.

Thanking u