Linktoform

I have one table with two slices.
I would like to create a link to open a form with the data of that row.

Can you help me?
LINKTOFORM(Data_Form,[ID]=[_THISROW].[ID])

Thanks

0 10 409
10 REPLIES 10

Steve
Platinum 4
Platinum 4

This:

LINKTOFORM(Data_Form,[ID]=[_THISROW].[ID])

should be:

LINKTOFORM("Data_Form", "ID", [ID])

LINKTOFORM("Data_Form", "ID", [ID])

This link open the right form but not with the datas. It opens a new row.

You may want to use the LINKTOVIEW() instead, pointing to the detail view ?
And maybe check the QuickEdit option as well.

LINKTOFORM() always add a new row to a table.
If you want to add pre-fill more datas, you need to keep writing arguments in your LINKTOFORM function, with pairs of {columnName, columnValue}, just like you did with the โ€œIDโ€ column.

What are you trying to do ?

Hola Steve. Encuentro 3 personas con este mismo problema. Yo no he podido solucionarlo. Tienes alguna recomendaciรณn por favor?

Please describe your problem.

Gracias por tu repuesta Steve. Mira:

3X_f_d_fd77b473c2954f0d4e9d2b50d3e69a6c08ec6638.png

3X_e_b_eb3d6110e6ba7fbafe05dba0618c2db1a59ef238.png

El resultado es una formulario sin pre diligenciar

Gracias

It appears you might be using LINKTOFORM() improperly. The format is:

LINKTOFORM("form-name", "column-name", column-value)

Replace form-name with the name of the form view, column-name with the name of the column in the form to get a pre-set value, and column-value with an expression that gives the pre-set value for the column. You can repeat the column-name/column-value pair to add as many column pre-set values as you want.

In your case, it looks like you might want:

LINKTOFORM(
  "GENERAR ORDEN PARA PLANTA",
  "CLIENTE_PRODCC",
  [CLIENTE_PRODCC]
)

Or, to pre-set all of the columns visible in your screenshot:

LINKTOFORM(
  "GENERAR ORDEN PARA PLANTA",
  "CLIENTE_PRODCC",
  [CLIENTE_PRODCC],
  "CLIENTE_DEL_CLIENTE",
  [CLIENTE_DEL_CLIENTE],
  "PROCESO_PRODCC",
  [PROCESO_PRODCC]
)

Pudiste solucionar, este tema? Yo tengo el mismo problema y no encuentro la solucion.

Buenos dias,
Os digo como lo solucione yo. โ€œtal vez no sea el modo mas correcto o exista otro sistema, pero a mi me fucionaโ€

Yo cree tres comportamientos, puesto que yo queria cambiar primero un campo del registro seleccionado y luego editarlo.

1.- Lo cambia: ese es facil.
3.- Ejecuta un comportamiento y luego el otro.

2.- El segundo yo puese.
LINKTOROW([ID],โ€œData_Formโ€)
Tengo una columa que llamo โ€œIDโ€ que es automรกtica y una Tabla que se llama โ€œDataโ€

Se que no soy muy creativo con los nombres pero es lo que hay.
Espero que os sirva.

Top Labels in this Space