thread184-1249771
Hi,
What I did was use the Select statement to create a cursor to get the structure of the table, append a blank record, go through the fields and identify their types. If a field is numeric, store the value 1.77777777 and then read the value of the field. If the field yields a 2, that numeric field has 0 decimals. If it yields 1.8, it has one decimal place. If 1.78, it has two decimals, etc.
Hope this helps. Warm Greetings from the Philippines!
Hi,
What I did was use the Select statement to create a cursor to get the structure of the table, append a blank record, go through the fields and identify their types. If a field is numeric, store the value 1.77777777 and then read the value of the field. If the field yields a 2, that numeric field has 0 decimals. If it yields 1.8, it has one decimal place. If 1.78, it has two decimals, etc.
Hope this helps. Warm Greetings from the Philippines!