DBG Adofield

DBG Adofield

Postby Franklin Demont » Wed Jan 31, 2018 9:51 am

Hello ,

FWH 1402

DBG ors:Field(..) Gives an error in cValtoStr . in :

Code: Select all  Expand view

   if Left( cVal, 1 ) == "*" .and. Len( cVal ) > 2 .and. ValType( uVal ) == 'N'
 


cVal seems to be a object

Solved with adding

Code: Select all  Expand view

   ------
   IF VALTYPE(uVal)=="O"
      cVal := cStr(uVal)  
   END
   ------
   if Left( cVal, 1 ) == "*" .and. Len( cVal ) > 2 .and. ValType( uVal ) == 'N'

....
[/code]

After some more testing , i found that with this code , DBG oField gives the same result as
DBG oField:Properties , probably this worked without changing the source.

How can we see with the debugger the properties from oField as :
numericscale , precision , ......

Frank





Frank Demont
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 20 guests