Welcome! Log In Create A New Profile

Advanced

Tableseek (WD21) and

Posted by Niek 
Niek
Tableseek (WD21) and
July 16, 2019 11:48AM
Hi,

I have a table with 1 column.
I fill the table by BuildBrowsingTable(Table,qry_Resource,taWithAutoId+taFillTable)

Windev creates the table according the fields in the query.

In a next step i want to use tableseek on colum 'Code'.
I can not use inderection, something like --> tableseek({"table.Code",indcontrol},2552)

How can i do a tableseek on a table that is build by 'BuildBrowsingTable' ?
Al
Re: Tableseek (WD21) and
July 17, 2019 01:35PM
Hello Niek

Tableseek() requires the column name so it should work without needing indirection

sColName is string = "Table.Code"
Tableseek(sColName,"2552",true)

Regards
Al
Niek
Re: Tableseek (WD21) and
July 18, 2019 01:27PM
Hi Al,

Thanks for the reply but it doesn't work.

The column i want to seek on is not existing in the first place.
The column 'Code' is created by the BuildBrowsingTable(....) command,
Re: Tableseek (WD21) and
July 18, 2019 02:03PM
The columns created by BuildBrowsingTable are named _COL1, _COL2 and so on.
Therefore, you can use a command like Tableseek("_COL1","2552",true)


If you want to know which file.item is displayed in the _COL1 you can use {"Table._COL1",indcontrol}..filelink
Niek
Re: Tableseek (WD21) and
July 18, 2019 03:23PM
Hi,

Thank you... Now I understand...Problem solved..
Author:

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: