Calling Form record into a Table Row

har7801 03 Oct, 2018
Hi and Thanks in advance.

I am trying to something a little trickier than usual and have got stuck. My guess is on the syntax of the where clause in a read function. Any help would be great.
  1. Have a table calling in data and displaying - no probs
  2. Table has a row called Action, to display the data from two table fields in a certain way within that row. I have made a new read function, created a form view and this in tern calls a fields view with the CC in it with the data being called and displayed in the table as desired. - This is where is goes wrong.
The fields view call the data and displays it ok, but it is repeating the first entry only. Over and over. Screen Shot attached. I want it to display the data for the record it is within.

I have the where clause empty and the select type on first matching record. If I change either of these then I get no results at all. Again this leads me to the understanding its my where clause to have it look at an identifier for each row to tell it what to display. Am I at least on the right track?

If so I just don't know/understand the syntax I need to use. Help is appreciated.
healyhatman 03 Oct, 2018
It would help if you post a screenshot of your read data actions, and probably your table too.
har7801 04 Oct, 2018
This is the table:
Calling Form record into a Table Row image 4

This is the table read action:

Calling Form record into a Table Row image 5

This is the read action for the form/fields:

Calling Form record into a Table Row image 6
healyhatman 04 Oct, 2018
What's in the {view:Operator_Records_Training_Form} ?
healyhatman 04 Oct, 2018
And that second read data action, how is it supposed to be related to the first one?
har7801 04 Oct, 2018
Ive made this way more complicated than it needs to be.

So, I want to display these three fields:

Calling Form record into a Table Row image 7

That are being called in this array, shown in the debug:

Calling Form record into a Table Row image 8

Here:

Calling Form record into a Table Row image 9

I know I can show one of the results at a time but I want to show 3 of those 4 (Not the hot_wear). I thought of doing a view and calling in a form and fields but cant make that work. Am I on the right track? Or something else?
healyhatman 04 Oct, 2018
*sigh* show me the view please.
healyhatman 04 Oct, 2018
Answer
1 Likes
If you just want to DISPLAY the values then in your table view do the following:
Action:{var:Operator_Records_Table.row.Article.field1}<br>{var:Operator_Records_Table.row.Article.field2}<br>{var:Operator_Records_Table.row.Article.field3}
har7801 04 Oct, 2018
What can I say......I really over complicated the hell out of that one.

Thanks a tonne.
This topic is locked and no more replies can be posted.