Page 1 of 1

DBG Adofield

Posted: Wed Jan 31, 2018 9:51 am
by Franklin Demont
Hello ,

FWH 1402

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

Code: Select all

   if Left( cVal, 1 ) == "*" .and. Len( cVal ) > 2 .and. ValType( uVal ) == 'N'
 
cVal seems to be a object

Solved with adding

Code: Select all

   ------
   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