Working with database components – PB Docs 105
Working with database components A database is an electronic storage place for data. Databases are designed to ensure that data is valid and consistent and that it can be accessed, modified, and shared. A database management system (DBMS) governs the activities of a database and enforces rules that ensure data integrity. A relational DBMS stores…
LineCount – PB Docs 125
LineCount method (DataWindows) Description Determines the number of lines in an edit control that allows multiple lines. Controls DataWindow type Method applies to PowerBuilder DataWindow control Web ActiveX DataWindow control Syntax [PowerBuilder]
|
1 |
long <span>dwcontrol</span><span>.LineCount</span> ( ) |
[Web ActiveX]
|
1 |
number <span>dwcontrol</span><span>.LineCount</span> ( ) |
Argument Description dwcontrol A reference to a DataWindow control Return Values Returns the number of lines in dwcontrol if…
Syntax 2 For RichTextEdit controls – PB Docs 126
Syntax 2 For RichTextEdit controls Description Determines the line and column position of the insertion point or the start and end of selected text in an RichTextEdit control. Controls RichTextEdit and DataWindow controls Syntax
|
1 |
<span>rtename</span>.<span>Position</span> ( <span>fromline</span>, <span>fromchar</span> {, <span>toline</span>, <span>tochar</span> } ) |
Argument Description rtename The name of the RichTextEdit or DataWindow control in which you want to find the location of the…
ODBC Using escape clauses – PB Docs 126
ODBC Using escape clauses ODBC defines extensions that are common to most backend DBMSs. To cover vendor-specific extensions, the syntax defined by ODBC uses the escape clause provided by the X/Open and SQL Access Group (SAG) SQL draft specifications. For example, some of the extensions defined in ODBC are: Date, time, and timestamp data Scalar…
GetFullContext – PB Docs 150
GetFullContext method (DataWindows) Description This method returns a string representing the context of the client-side control to be passed on a form submit. Controls DataWindow type Method applies to Web Client control Syntax [Web DataWindow client control]
|
1 |
string <span>dwcontrol</span>.GetFullContext ( ) |
Argument Description dwcontrol A reference to a DataWindow control Return Values String Usage Use to host multiple…
Working with tables – PB Docs 105
Working with tables When you open the Database painter, the Object view lists all tables in the current database that you have access to (including tables that were not created using PowerBuilder). You can create a new table or alter an existing table. You can also modify table properties and work with indexes and keys….
GetStateStatus – PB Docs 125
GetStateStatus method (DataWindows) Description Retrieves the current status of the internal state flags for a DataWindow and places this information in a blob. This method is used primarily in distributed applications. Obsolete method GetStateStatus is obsolete and will be discontinued in a future release. You should remove all use of GetStateStatus as soon as possible….
IsNumber – PB Docs 126
IsNumber PowerScript function Description Reports whether the value of a string is a number. Syntax
|
1 |
<span>IsNumber</span> ( <span>string</span> <span></span>) |
Argument Description string A string whose value you want to test to determine whether it is a valid PowerScript number Return Values Boolean. Returns true if string is a valid PowerScript number and false if it is not. If…
About ADO.NET – PB Docs 126
About ADO.NET ADO.NET is a set of technologies that provides native access to data in the Microsoft .NET Framework. It is designed to support an n-tier programming environment and to handle a disconnected data architecture. ADO.NET is tightly integrated with XML and uses a common data representation that can combine data from disparate sources, including…
RichTextLimitError – PB Docs 150
RichTextLimitError event Description Occurs when data in a column with the RichText edit style exceeds column size. PowerBuilder event information Event ID: pbm_dwnrichtextlimiterror Argument Description row Long by value. The number of the row the user clicked. dwo DWObject by value. A reference to the control within the DataWindow under the pointer when the user…