searchfull-text-searchpowerbuilderdatawindow

With PowerBuilder, is there a way to find if a specific datawindow or datastore is being used?


Having written my PowerBuilder code I may have several datawindows, one of which is called, let us say, d_Gubbins. Can I search through the whole uncompiled program to see if the datawindow is actually used or not please?


Solution

  • Download PBLPeeper and run the DataWindow Object Usage report. You can also run the Object Cross-Reference and take a look at the unreferenced objects. Beware of code like this:

    public subroutine evil(string as_thing);
    string ls_hidden = "d_muahahah_"
    ls_hidden = ls_hidden + as_thing
    dw_1.dataobject = ls_hidden
    end subroutine
    

    We've banned building names like this.