Capture View Name

Michael2
Participant V

Is there anyway to capture and record the name of the view?

I have three tables. One table is related to the other two through de-references. When the user records data in this table, I would like to prepend to the de-referenced (foreign) key an abbreviation of the view that led the user to the view where he is recording the data. Is this possible?

Solved Solved
0 5 248
1 ACCEPTED SOLUTION

You could add a column in Table 2 to record the Source View, and use LINKTOFORM() to pre-fill that value.

Add Table2[Source] column and regenerate table.
Add an action in Table 1 to Go to another view in this app,

LINKTOFORM("FormName","Source",CONTEXT("View"))

View solution in original post

5 REPLIES 5

Steve
Participant V

How can I use CONTEXT(โ€œviewโ€) to record the view that led the user to the form where the data is being recorded? The form view where the data is being recorded will always be the same however, the parent view to which the form view is related at the time will change between the other two tables.

2X_5_5878ea59a08ba1573b0ea43abdc0bb0a4129e0b3.png

You could add a column in Table 2 to record the Source View, and use LINKTOFORM() to pre-fill that value.

Add Table2[Source] column and regenerate table.
Add an action in Table 1 to Go to another view in this app,

LINKTOFORM("FormName","Source",CONTEXT("View"))

This works, thank you.

Youโ€™re welcome! Glad I could help.

Top Labels in this Space