Announcement

Collapse
No announcement yet.

Application Link in Form

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Application Link in Form

    Hi
    i have an editable grid (Form) from where i want to link to a single record form. In my editable grid i can edit the 5 most important rows, for edit the other rows, i want to jump to a single record form.

    I create an Application Link to my single record form succesfully, but nothing happens. I also tried to make a field link. I can create it, but theres no link in the editable grid.

    Is it possible to do that from an editable grid (i only find tutorials to make it from grid)? If no, why i can make a link? If yes, how? :-)


    Best regards and thank's for your help
    Steve

  • #2
    Hi,
    in your single record form, go to the SQL section and add to the WHERE clause somethin like

    id_field = [glob_id]

    Add a costum field (Text) {editrow} to the editable grid view and hide the primary key field (make sure it is on the form).

    onLoadRecord
    {editrow}="<a href='../singlerow_form/singlerow_form.php?glob_id=".{id_field}."' title='Edit Row' target='_self' >".{id_field}."</a>";

    Hope that helps.

    jsb

    Comment


    • #3
      Thank's, i will try that. But why i can make the links to the form in sc when they not work then?

      Comment

      Working...
      X