[WD22] If I use a Table or Tree View Table using a Query, How I can enter the Parameters ?

Startbeitrag von David Cabrera am 18.10.2017 14:44

If I use a Table or Tree View Table using a Query, How I can enter the Parameters ?

Thanks in advance.

Antworten:

Hi David,

when you create such a table, Windev automatically adds the code for setting the parameters in the table init code area.

If you need to change them on the fly, then adapt that code to use values stored in fields or variables as parameters, then do a tabledisplay with the tainitquery, or tainit parameter (from the top of my head, mileage may differ)

Best regards

von Fabrice Harari - am 18.10.2017 14:58
Hello Fabrice Harari

thanks for your answer, I put the treeview table in a window where I filled a table with the query through programming, the treeview table is to be able to generate a report, without me doing anything the report comes out well, with the query already filtered by the parameter , that was the only thing I needed to do.

But it's good to know how to do it in execution mode, I'll prove it later.

Thanks

von David Cabrera - am 18.10.2017 15:28
Hi David,

there seems to be a misunderstanding here...

When you originally said "...Table or Tree View Table using a Query.." I understood LINKED TO a query and answered accordingly.

You are now talking about a table filled by programming, and that is a completely different beast. IN that case, it doesn't matter if the original data is coming from a file, a query or anything else, only that YOUR CODE is filling the table by programming.

Best regards

von Fabrice Harari - am 18.10.2017 17:44
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.