Article ID: 145608
Article Last Modified on 9/30/2003
=DBSETPROP('<View_name.fieldname>','field','datatype','n(<nX>,<nY>)')
In this example, the <View_name.fieldname> is the name of the remote view
and field. The <nX>, <nY> in the n parameters should be replaced with the
original field size followed by a comma and then the original decimal
places.
?DBGETPROP('remote view name.fieldname', 'field', 'datatype')
Notice it returns b(8,2), indicating a datatype of Double.
?DBSSETPROP('remote view name.fieldname', ;
'field','datatype','n(4,0)')
This will set the data type back to its correct value.Additional query words: VFoxWin sql
Keywords: KB145608