Skip to content

Incorrect dataform1text code output by savedf1program function

Forums Forums SIMPOL Programming Incorrect dataform1text code output by savedf1program function

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

    The code for dataform1text controls is output incorrectly by the V1.6 savedf1program function. The “text” parameter attributes are output with an extra leading double quote and extra leading comma and an extra trailing double quote e.g. get: text=”, “Consultant:””, instead of: text=”Consultant:”, This will cause the code to stop on attempts to load the form code. Steven

    #1583
    Michael
    Keymaster

    On 11/02/2012 18:06, Steven Kang wrote:
    > The code for dataform1text controls is output incorrectly by the V1.6
    > savedf1program function.
    >
    > The "text" parameter attributes are output with an extra leading
    > double quote and extra leading comma and an extra trailing double
    > quote e.g. get:
    >
    >
    > text=", "Consultant:"",
    >
    >
    > instead of:
    >
    >
    > text="Consultant:",
    >
    >
    > This will cause the code to stop on attempts to load the form code.

    Hi Steven,

    Thanks for that. I took a closer look and there were several controls
    that had this problem, so I have gone through and fixed them all. An
    update will be in late this week or early next.

    Ciao, Neil

    #1584
    JD Kromkowski
    Participant

    I think the problem is worse that this. I don't think the save as
    dataform program is actually working at all. It's not creating a
    dataform1 program at all it's creating a wxform program.

    So "save as" "dataform1 program" and save as "wxform program" are doing
    the same thing, i.e. create a wxform program.

    #1546
    Michael
    Keymaster

    On 28/02/2012 18:48, JDK wrote:
    > I think the problem is worse that this. I don't think the save as
    > dataform program is actually working at all. It's not creating a
    > dataform1 program at all it's creating a wxform program.
    >
    > So "save as" "dataform1 program" and save as "wxform program" are
    > doing the same thing, i.e. create a wxform program.
    >

    JD you are quite right. I just had a look, and sure enough, a copy/paste
    error from the code for the new dialog that takes parameter information
    was causing the same routine to be called for both. I have fixed this
    and am currently retesting the output of the function. I should have
    something up soon.

    Ciao, Neil

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