Results 1 to 10 of 16

Thread: Odd grid behavior

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    SW Connecticut/NY area
    Posts
    8,058

    Default Odd grid behavior

    Given the following pseudo code, why does the addition of the line in red cause the error below? If I debug, I end up in cDbCJGridDataSource.pkg in the Ordering function and the server is 0. What the heck has one thing got to do with the other? If I remove that line, all works correctly. And it doesn't matter what I put in there, anything at all causes the error. My goal is to clear oWwuser_DD which is a stand-alone DD and started out by my sending clear to oWwuser_DD from that procedure but I found that putting anything there blows it up.

    Code:
        Object oWwuser_DD is a wwuserGeneric_DataDictionary
        End_Object
        
        Object osecuritymenu_DD is a securitymenu_DataDictionary
        End_Object
    
        Object osecurityusers_DD is a securityusers_DataDictionary
    
            Procedure Clear_All
                String sXX
                Forward Send Clear_All
                Move "" to sXX   <<-------------------
            End_Procedure
            
            Set DDO_Server to osecuritymenu_DD
        End_Object
    
        Set Main_DD to osecurityusers_DD
        Set Server to osecurityusers_DD
    
        Object oUserdbGrid is a cdbCJGrid
             // grid stuff
         End_Object
    C:\VDF-19.0\Projects\National-PROD\Programs\SecurityTest.exe
    Invalid message. GET_ORDERING

    Error: 98

    GET_ORDERING (370) - oObject (395) - at address 76206
    GET_ONREADFIRSTRECORD (11220) - oObject (395) - at address 76672
    MSG_PAGEINFIRSTROW (10422) - oObject (395) - at address 76461
    GET_LOADFIRSTORLASTROW (11127) - oUserdbGrid (367) - at address 74014
    MSG_MOVETOFIRSTROW (11134) - oUserdbGrid (367) - at address 74187
    MSG_NOTIFY_SELECT_STATE (855) - oSelectRadioGrp (457) - at address 100601
    MSG_PRIVATE.NOTIFY_SELECT_STATE (4685) - oSelectRadioGrp (457) - at address 6639
    SET_SELECT_STATE (38) - oRadio1 (459) - at address 6817
    SET_CURRENT_RADIO_OBJECT (4782) - oSelectRadioGrp (457) - at address 6654
    SET_CURRENT_RADIO (4781) - oSelectRadioGrp (457) - at address 6649
    MSG_CLEAR (342) - oWwuser_DD (341) - at address 100398
    MSG_ACTIVATING (157) - OSECURITYTEST (339) - at address 100380
    MSG_PAGE_OBJECT (4) - OSECURITYTEST (339) - in native code
    MSG_PAGE_OBJECT (4) - OSECURITYTEST (339) - at address 1660
    MSG_ADD_FOCUS (279) - OSECURITYTEST (339) - in native code
    MSG_ADD_FOCUS (279) - OSECURITYTEST (339) - at address 13576
    MSG_ADD_FOCUS (279) - OSECURITYTEST (339) - at address 14505
    MSG_ADD_FOCUS (279) - OSECURITYTEST (339) - at address 15229
    MSG_ACTIVATE (117) - OSECURITYTEST (339) - in native code
    MSG_ACTIVATE (117) - OSECURITYTEST (339) - at address 2258
    MSG_ACTIVATE (117) - OSECURITYTEST (339) - at address 15338
    MSG_POPUP (290) - OSECURITYTEST (339) - in native code
    MSG_ACTIVATE_VIEW (5357) - OSECURITYTEST (339) - at address 13566
    MSG_ACTIVATE_OSECURITYTEST (12778) - oClientArea (249) - at address 100357
    MSG_ONEXECUTE (9366) - oSecurityTestMenuItem (151) - at address 80242
    MSG_EXECUTE (9365) - oSecurityTestMenuItem (151) - at address 58505
    MSG_AUTOACTIVATE (12793) - oMain (111) - at address 100791
    MSG_END_CONSTRUCT_OBJECT (459) - oMain (111) - at address 100842
    [start] - at address 100845
    Last edited by Bob Worsley; 20-Feb-2020 at 10:49 PM. Reason: More info
    Bob Worsley
    203-249-2633
    rlworsley at gmail.com

    Do or do not. There is no try. — Yoda

Posting Permissions

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