Forums › Forums › Superbase NG Personal › dataform1link
- This topic has 1 reply, 2 voices, and was last updated 13 years, 11 months ago by Michael.
- AuthorPosts
- June 8, 2010 at 3:06 am #69Steven KangParticipant
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
June 11, 2010 at 9:33 pm #1480MichaelKeymasterOn 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
- AuthorPosts
- You must be logged in to reply to this topic.