GetColumnName method (DataWindows)
Description
Obtains the name of the current column. The current column
is the column that has the focus.
Controls
|
DataWindow type |
Method applies to |
|---|---|
|
PowerBuilder |
DataWindow control, DataWindowChild object, DataStore |
|
Web |
Server component |
|
Web ActiveX |
DataWindow control, DataWindowChild object |
Syntax
[PowerBuilder, Web DataWindow, and WebActiveX]
|
1 |
string <span>dwcontrol</span>.<span>GetColumnName</span> ( ) |
|
Argument |
Description |
|---|---|
|
dwcontrol |
A reference to a DataWindow control DataStore, |
Return Values
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 |
string ls_ColName |
|
1 |
ls_ColName = dw_employee.<span>GetColumnName</span>() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest