Resetting fields

Avatar

Avatar

orlandoc3327638

Avatar

orlandoc3327638

orlandoc3327638

24-07-2019

Hi everybody, please help me with this:

I have this form:

image1.jpg

I insert rows without problem

image2.jpg

When i clic on the button called "Limpiar datos de construccion" only clear the last row

image3.jpg

image4.jpg

When i clic on the button "Limpiar datos de construccion" I want to clear all the rows, i dont know what i doing wrong

this is the code for te button "Limpiar" datos de construccion:

image5.jpg

Please help me.

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

orlandoc3327638

Avatar

orlandoc3327638

orlandoc3327638

25-07-2019

Thanks for answering, I want to delete the data for all the rows, but when I click the button only deletes the data in the first row

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

25-07-2019

Hi there,

It is hard to give direct pointers without the hierarchy at hand.

I can see you are calling the 'parent' of "SuperficieConstruccion" which in theory would be "SubFrmConstruccion"...

either way it should be working if the table in question is a children of this 'parent'

However this method will only remove the data and it won't reset the instances back to original..

If you want to remove all rows you could simply insert an instance on the first index and set instances to 1 like the following:

This process will remove data from the fields in the table without using reset data

I hope this will help.