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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

numeric field size

Status
Not open for further replies.

GoodOldRob

Programmer
Sep 10, 2003
8
0
0
GB
Help

I am trying to programmatically get the size of a numeric field, i have tried fsize() but it does not return the number of decimal places.

is there any other commands that i can try
 
Rob,
Try AFIELDS() - the number of decimals is in the fourth column.
Code:
Use mytable
lnFields = afields(aFieldInfo)
?lnFields && number of fields
list memory like aFieldInfo
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top