Enabled fields in a Dataport

hi I am using Navision-310. I have made a dataport for the Customer Table with all the fields. I have disabled some of the fields on the dataport. Now i want to get the names of all the enable fields when i run the dataport.I have used the FIELDACTIVE function , but it does not works.Can any one give me some idea , how to do this. Harikesh

Create a new dataitem of the type Integer. Set the DataItemTableView of this dataitem to ‘SORTING(Number)WHERE(Number=CONST(1))’. Enter the description of the field in the field Designer like this ‘foo’. User the quotes to export the exact text. Or you can enter FIELDCAPTION(DataItem.FieldNo) to export the right caption of a field. Hope this was what you are looking for!