Forums › Forums › SIMPOL Programming › Incorrect dataform1text code output by savedf1program function
- This topic has 3 replies, 3 voices, and was last updated 12 years, 2 months ago by JD Kromkowski.
- AuthorPosts
- February 11, 2012 at 6:06 pm #155Steven KangParticipant
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
February 20, 2012 at 8:35 pm #1583MichaelKeymasterOn 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
February 28, 2012 at 6:48 pm #1584JD KromkowskiParticipantI 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.March 6, 2012 at 11:46 am #1546MichaelKeymasterOn 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
- AuthorPosts
- You must be logged in to reply to this topic.