This is a common but frustrating error that can create real problems. The cause for this error is one or more of the following:
A primary key for the table is not listed in the update properties for the datawindow.
The primary key
Single-choice or multiple-choice button message (prefix: pbm_bm)Whether the pbm_bmgetcheck single-choice button or multiple-choice button is selected.Whether the pbm_bmgetstate button is highlighted.Pbm_bmsetcheck changes the selected status of the
If the number of columns in the data window is small, we usually select the following status:
To solve this problem, follow these steps:
1. Right-click the data window to be set and select "modify datawindow" to open the data window object
The Treeview control provided by PowerBuilder allows us to organize and display data hierarchically in a tree, making the program more flexible and more convenient for user operations. In general, the Treeview control allows you to easily search for
1. column does not exist
2. The column value does not match the accept type.
3. The select result sequence may be different from the fetch sequence, resulting in mismatch.
4. The number of queried columns does not match the number of variables
Integer. Returns 1 if it succeeds and a negative number if an error occurs.Error values are:-1 pipe open failed-2 too partition Columns-3 table already exists-4 table does not exist-5 missing connection-6 wrong arguments-7 column Mismatch-8 fatal
When using code to trigger an event, you can use the triggerevent ()/Postevent () function ()
When a custom event with parameters is triggered, it is best to do the following:
Syntax:
Objectname. {trigger | post} {static | dynamic} EVENT
01. /* release 02. function: Specifies the tooltip attribute value 03 for a column in a row. 04. parameter: 05. dw data window name 06. args_col [] column name or column number 07. args_info [] row number and corresponding prompt information array 08
PowerBuilder Runtime Packager
The PowerBuilder Runtime Packager is a tool that packages the PowerBuilder files an application needs at runtime into a Microsoft Windows Installer package (MSI) file. Windows Installer is an installation and
External functions: functions written in other languages stored in the dynamic link library.
1. External Functions
Steps for describing external functions:
1) first open the object to describe the external function;
2) In the script window, select
The ancestor window w_a has a function Set (integer ).The derived window w_a_desc has two functions: Set (integer) inherits the Fir Tree of the ancestor, and Set (string) is an overloaded function.Suppose you open the window mywindow whose ancestor
In practice, we often encounter tables in the database that are dynamically generated during the running of the program. To operate the data in such tables, we need to use dynamic data window objects, it is worth mentioning that when a dynamic data
// Use the code to change the data window objectString error_syntaxfromSQL, error_createString new_ SQL, new_syntaxNew_ SQL = 'select emp_data.emp_id, emp_data.emp_name from emp_data '&+ 'Where emp_data.emp_salary> 100'New_syntax = SQLCA.
Describe ()Function: Return the specified information about the structure of the data window control, including the datawindow object and data window.The attribute value of other objects in the object. Each column in the data window, each header,
General Tab
Attribute: attribute function
String information in the title bar of the title window
The text tag related to the window, which can be used as the prompt information for the help.
The name of the menu in the menuname window, which can be
In the afternoon, I took a test on the Production builder certification. The questions can be set. Basically, each question describes a business scenario and then I need to select a solution.
By the way, I took the ax4.0 morxphx solution test. The
PowerBuilderThe Treeview control allows us to organize and display data hierarchically in a treeProgramThe performance is more flexible and user operations are more convenient. In general, the Treeview control allows you to easily search for and
Usage of dynamic call types in PbWhen it comes to the dynamic call type, Let's first look at the reference methods of objects, attributes, functions, and events:The development process of PowerBuilder 6.0 applications is actually the process of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.