Search found 2 matches
- Mon Feb 27, 2017 11:11 am
- Forum: Zee Language
- Topic: Path for an object that is both PbTable and PbForm
- Replies: 0
- Views: 42205
Path for an object that is both PbTable and PbForm
I have a PowerBuilder datawindow that AscentialTest identifies as a PbTable when data is present, and a PbForm when the datawindow is empty. The App Object Editor field for Object Class allows only one class to associate with the path. Since I needed to identify the datawindow using two classes it w...
- Wed Jan 07, 2015 6:52 pm
- Forum: Zee Language
- Topic: Counting occurrences of a value in a table
- Replies: 0
- Views: 43296
Counting occurrences of a value in a table
The arguments are the name of the column in the row and the string value to match. I work in PowerBuilder but the code will probably work extending other table classes. Usage: Integer iCount = MainWindow.MainTable.GetNumberOfMatches("Columnname","SomeValue") Zee code: [-] extend ...