Forum Replies Created

Page 10 of 21
  • Andreas Pfeiffer

    Administrator
    April 9, 2024 at 12:13 pm in reply to: js data entry error

    What version of Omnis Studio 11 are you using? Do you use the latest build? 36251?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    April 9, 2024 at 12:09 pm in reply to: js data entry error

    Hi Martin,

    Can you double check if you use the same version of Omnis Studio JavaScript resources as you have on your web server?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    April 9, 2024 at 7:06 am in reply to: How to rebuild columnpicklist

    Hi Martin,

    In the samples section there is a JS Data grid and a JS Data grid formatted. But none of them is using a droplist.

    Can you please specify what library you refer?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    April 1, 2024 at 12:02 pm in reply to: Reading Postgresql schemas and Omnis schemas

    Hi Martin,

    If using schema classes you would need to prefix the schema class name in the “server table or view” field of the schema class.

    The $sqlclassname property of the table class should take the name of the schema class.

    Hope this helps.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    March 21, 2024 at 2:59 pm in reply to: Closing an additional library closes the main window

    Robert,

    would you let me know what steps are required to reproduce this problem? Do I need to open both libraries? When I run the Export Library button it simply closes the library.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    March 21, 2024 at 11:04 am in reply to: Closing an additional library closes the main window

    Hi Robert,

    can you upload a sample lib that shows the problem?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    March 21, 2024 at 10:02 am in reply to: Closing an additional library closes the main window

    Hi Robert,

    Yes. Try to add “().$fullname”

    Note, the parentheses.

    For example: calculate myTextVar as $cinst().$fullname

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    March 18, 2024 at 1:22 pm in reply to: Closing an additional library closes the main window

    Hi Robert,

    This could be because the window instance that you are talking about is probably running inside the task instance of the library that you close. Although the window class may sit in another library the instance can live in a task of another library. This is all about who has opened the window instance. If the instance that opened that window is also part of the task instance the new instance will be in the same task instance. Etc.

    You can find out if you check what the current task instance is using $ctask().$name (note the parentheses). That gives you the name of the current task instance.

    If you want to make sure to open the window instance in another task instance you would need to open the window instance either directly from the $construct of that task or from another instance (menu etc.) that was opened from that $construct.

    I hope that makes sense.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    February 19, 2024 at 10:48 am in reply to: Display text horizontally for the left side tab control

    Hi Roland,

    why not simply use buttons for this?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    February 15, 2024 at 5:32 pm in reply to: Trapping a button click

    Hi Ron,

    I am not sure if I understand you correctly. Typically you would put an evClick within the $event method of the button. So whenever the button is clicked the code after On evClick will be executed.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    April 2, 2024 at 6:53 am in reply to: Reading Postgresql schemas and Omnis schemas

    Great,

    Thank you for your feedback. I am glad it helped.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    April 1, 2024 at 5:05 pm in reply to: Reading Postgresql schemas and Omnis schemas

    Martin,

    it is probably easiest if you try the query build first to see how the correct syntax is and if it works from there.

    Then when using schema classes it is probably best if you use double quotes to describe schema and server table name within the schema class. For example something like “mySchema”.”myServerTable”

    These are double quotes not two single quotes.

    Hope this helps.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    February 20, 2024 at 8:00 am in reply to: Display text horizontally for the left side tab control

    Roland,

    Just type in the css class name (without the leading dot). Once you have used it it should appear in the drop list too.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    February 19, 2024 at 10:47 am in reply to: Subform questions

    Hi Mischa,

    Yes – all properties but $name need to be read within a client executed method.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    February 15, 2024 at 7:50 pm in reply to: Trapping a button click

    Ron,

    I wonder if a Switch control would be more suitable to achieve this.

    Best regards,

    Andreas

Page 10 of 21