GetColumnName
method (DataWindows)
Description
Obtains the name of the current column. The current column is the
column that has the focus.
Applies to
|
DataWindow type |
Method applies to |
|---|---|
|
PowerBuilder |
DataWindow control, DataWindowChild object, DataStore |
Syntax
PowerBuilder
|
1 |
string dwcontrol.GetColumnName ( ) |
|
Argument |
Description |
|---|---|
|
dwcontrol |
A reference to a DataWindow control DataStore, or |
Return value
Returns the name of the current column in dwcontrol. Returns the
empty string (“”) if no column is current or if an error occurs.
If dwcontrol is null, in PowerBuilder and JavaScript the method
returns null.
Usage
For information on the current column, see GetColumn.
Examples
These statements return the name of the current column in
dw_Employee:
|
1 2 |
string ls_ColName ls_ColName = dw_employee.GetColumnName() |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest