Skip to content

dataform1link

Forums Forums Superbase NG Personal dataform1link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #69
    Steven Kang
    Participant

    I think there are multiple problems with the file linking code generated by the form designer. If the checkin.sxf form is saved as a Dataform1 program (after first deleting the option buttons which currently cause Simpol Personal to crash during the save), the generated code contains: link =@ fc.findlink(fc.table) if link !@= .nul fc.assignlink(link, f, error=e end if Firstly, the variable “Link” is not declared in the code as a dataform1link variable. If this is corrected manually, the first line generates an error 20 (“property not found”), presumably because “findlink” is not a property of a dataform1text object (which is what fc refers to here). I suspect there are multiple other problems which I have not had time to work through. Steven

    #1480
    Michael
    Keymaster

    On 09/06/2010 00:06, Steven Kang wrote:
    > I think there are multiple problems with the file linking code
    > generated by the form designer.
    >
    > If the checkin.sxf form is saved as a Dataform1 program (after first
    > deleting the option buttons which currently cause Simpol Personal to
    > crash during the save), the generated code contains:
    >
    > link =@ fc.findlink(fc.table) if link !@= .nul fc.assignlink(link, f,
    > error=e end if
    >
    > Firstly, the variable "Link" is not declared in the code as a
    > dataform1link variable. If this is corrected manually, the first line
    > generates an error 20 ("property not found"), presumably because
    > "findlink" is not a property of a dataform1text object (which is what
    > fc refers to here). I suspect there are multiple other problems which
    > I have not had time to work through.

    Hi Steven,

    Thanks for your reports. Some of these have already been dealt with and
    will be in the next release. Others I will still have to investigate. It
    sounds like the change to make dataform1text objects data-aware has not
    passed through to the source code generation area. That is one of the
    more complex pieces of code in the product.

    Ciao, Neil

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.