Results 1 to 1 of 1

Thread: Tabbed Workspace bug / issue / Don't do this.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,499

    Default Tabbed Workspace bug / issue / Don't do this.

    Code:
     
    Object oProdLotEntry is a dbView
        Set Location to 5 5
        Set Size to 108 529
        Set Label To "Production Lot Entry"
        Set Border_Style to Border_Thick
           
        Object otProductionLots_DD is a tProductionLots_dd
            Set psSQLFilter  to ''
             
        End_Object 
    
    
    
       Set Main_DD to otProductionLots_DD
       Set Server  to otProductionLots_DD 
     
       Object oDbScrollingContaineroLScan is a cDbScrollingContainer
            Object oDbScrollingClientAreaoLScan is a cDbScrollingClientArea
    Set Main_DD to otProductionLots_DD
    Set Server to otProductionLots_DD
    Originally the RED code was 'live' and "Request Save" failed.

    Moved the code to the GREEN position and suddenly it worked again. It makes sense because I was sending request_save to the DD so when "get Server" is sent from inside the DD the setting is not found in the parent. I can't remember now if this code was entirely made with Wizards and drag and drop of not.

    Note to future Self, "Set Server" needs to be in SAME object as DD definition.
    Last edited by Michael Mullan; 24-Jan-2020 at 08:46 AM. Reason: took out irrelevant code
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •