cancel
Showing results for 
Search instead for 
Did you mean: 

inserting rows in a table

Former Member
0 Kudos

Dear experts,

Greetings.

I have a small VC application in wich the data entered in the input fields should be displayed on a table upon clicking a button. But when I enter the next set of data, the first row is being replaced.

I tried (Assign & Insert and Submit & Insert ) combinations..but still didn't get the proper output.

Kindly suggest me the best way to do the same.

Looking forward to hearing from you.

Thanks in advance

Sathya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sathya,

Have one action on your Form1 button as COPYTO action.

Initialise From field = Form1, To field = table, Scope = Current Row, and Insert = After

Map the data with table fields assigned to corresponding form fields. That's it!

Let me know if it helps.

Regards,

Vani

sathyags
Active Participant
0 Kudos

Hello Vani,

Thank you very much for your response.

I tried "COPY TO" but on the first click, it adds two rows and when I click the button for the second time it deletes the first two rows and inserts 3 new rows :(.

Regards

Sathya

Former Member
0 Kudos

Hi Sathya,

It's working fine for me.

Do you have any other action (other than COPYTO) for the same button?

Please try again and let me know.

Regards,

Vani

sathyags
Active Participant
0 Kudos

Hello Vani...

I do not have any other action for that button....another thing.. in define expression of my table field I have given the form's field name...

to be clear... I have a form view and a table view

I have only one field(name) in the form view with an action button(copy to).

Table view also has one column (name1 = form1@name).

Still I'm not getting the expected output :(.

Thanks a lot for your effort in clarifying my doubt.

Sathya

sathyags
Active Participant
0 Kudos

Vani,,,,,,,

I got it..... Thank U so much

Former Member
0 Kudos

Happy to have helped you.

Regards,

Vani

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Sathya,

This might not be the best way but it sure does work. [Here|http://www.krishinfocom.com/learn.html], let me know if it helped.

Regards,

Dharmi