WD23 - BuildBrowsingTable.
January 10, 2019 01:56PM
Hi all,

I'd like to use BuidBrowsingTable() to inspect a file. Is there a way to change data in the cells of the table or even delete rows.


Best regards,

Aad



Edited 1 time(s). Last edit at 01/10/2019 01:58PM by AadG.
Re: WD23 - BuildBrowsingTable.
January 10, 2019 10:28PM
Hi Aad,

I use BuildBrowsingTable() for a kind of a WDMap function in my software.
And I have the possibility to modify and delete records. Works fine for me.

Regards, Stefan
Re: WD23 - BuildBrowsingTable.
January 10, 2019 10:33PM
Hi Stefan,

That is exactly what I want. Do you have some tips to set this up ?

Best regards,

Aad
Re: WD23 - BuildBrowsingTable.
January 11, 2019 07:20PM
Hi Aad,

you can make the table editable, so you can modify each field. Set in the details-tab Cascading input on and also Save during row exit. The modifications will be saved now when you leave a row. Works like a charm. Create a button to delete a row. with the following code:

liLine	is int

liLine = TableSelect(TABLE_EDIT)
IF 	liLine > 0 THEN
	IF 	YesNo(No,"Weet u zeker dat u dit record wilt verwijderen ?") THEN
		TableDelete(TABLE_EDIT,liLine)
	END
END

Now you can also delete lines.

I have also functions to duplicate rows, to refresh the table and to search a specific column.

Regards, Stefan
Re: WD23 - BuildBrowsingTable.
January 12, 2019 01:25PM
Hi Stefan

Thanks for the tips. Really helpful.

Regards,

Aad
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: