Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get datawindows column's data type

Status
Not open for further replies.

arthur550525

Programmer
Sep 27, 2008
3
0
0
TW
how to get the data type of datawindow control's column?
such as string, decimal, datetime
 
Describe method

<DW Control Name>.Describe("<Columnname>.Type")

or

dot notation

<DW Control Name>.Object.<Columnname>.Type


Matt

"Nature forges everything on the anvil of time"
 
dear Matt:

thanks a lot.
but i try the code
messagebox('message', string(dw_1.Object.ins_date.Type) )

return the type as : column
not the datetime or string TYPE

what the wrong with ?
 
hello,

I get the method :

string ls_coltype
ls_coltype = dw_1.Object.emp_id.ColType
ls_coltype = dw_1.Describe("emp_id.ColType")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top