Download Librarius 2000 Plus - Tinovimba G. Motsi

Transcript
Report Program : Trim Fields Field Form
Form Load
Set the number of rows in the grid to the number of Available fields +1
Enter the column titles
Enter the row numbers
Enter the field names in the first non fixed column
For each column in the recordset
Locate its row in the grid and move to it
If the column contains date data then
For each field in the column
If it contains time info then
Longest field length is 16
Else
If a field with time info has not yet been encountered then
Longest field length is 10
End if
End if
Next
Insert the longest field length
Specify that the column length cannot be reduced
© Motsi Tinovimba G
Page 103