PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV (précédentes versions) → Populating a table with variables
Populating a table with variables
Débuté par Antonio Diaz, 17 juil. 2021 20:31 - 1 réponse
Posté le 17 juillet 2021 - 20:31
Hi guys,

I am still playing around with WINDEV. I'm a Clarion user and the things that would seem so simple I still don't find how to do in WINDEV (25). I have a Table (TABLE_Items) that uses an ITEMS table but I want to concatenate some fields from that table and create a new colum on TABLE_Items to display the whole address.

I created the column on TABLE_Items but when I try to link it to the variable, It only gives me the choice to select FIELDS from the ITEMS table, not variables.

The variable is created and I am calling a function to "calculate" the whole address, which is called when DISPLAYING A ROW OF TABLE_Items.

I would appreciate your help.


Antonio Diaz
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 05 août 2021 - 16:27
Hi. You have 2 possibilities:

a) Use the query editor and define the columns of the table that should appear. There you can concatenate fields.

b) Define an empty column of text type. In the "Display a row" event of the table you can concatenate the data and assign it to the column.


Rubén