Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Resetting fields

orlandoc3327638
Level 2
Level 2

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.

0 Replies
Magus069
Level 10
Level 10

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.

orlandoc3327638
Level 2
Level 2

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