May 22, 2011 #1 arthur550525 Programmer Joined Sep 27, 2008 Messages 3 Location TW how to get the data type of datawindow control's column? such as string, decimal, datetime
May 23, 2011 #2 mbalent Programmer Joined Sep 20, 2001 Messages 853 Location US 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" http://www.anvil-of-time.com Upvote 0 Downvote
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" http://www.anvil-of-time.com
May 24, 2011 Thread starter #3 arthur550525 Programmer Joined Sep 27, 2008 Messages 3 Location TW 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 ? Upvote 0 Downvote
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 ?
May 24, 2011 Thread starter #4 arthur550525 Programmer Joined Sep 27, 2008 Messages 3 Location TW hello, I get the method : string ls_coltype ls_coltype = dw_1.Object.emp_id.ColType ls_coltype = dw_1.Describe("emp_id.ColType") Upvote 0 Downvote
hello, I get the method : string ls_coltype ls_coltype = dw_1.Object.emp_id.ColType ls_coltype = dw_1.Describe("emp_id.ColType")
Jun 16, 2011 #5 thekl0wn Programmer Joined Jan 12, 2006 Messages 292 Location US .Type = Object Type .ColType = Data Type Upvote 0 Downvote