2022.2

Table Of Contents
tothenumberofrecordsshownintheDataModelpane(whichisoneofthesettingsinthe
DataMapper).
Addingdatafromadatafile
1. ClickFile,selectAdd DataandthenclickFrom file data source.Browsetothelocationofthe
fileandselectit.
TheDesignercanopenthefollowingtypesofdatafiles:
l
Tabularfiles:CSVfiles(.csv,.txt)andMicrosoftExcelfiles(.xls,.xlsx)
Note: Excelfilessavedin"StrictOpenXML"formatarenotsupportedyet.
l
MicrosoftAccessDatabase(.mdb,.accddb)
l
JSONfiles(JSON)
l
XMLfiles(.XML)
l
PDF/VTfiles
2. Reviewtheoptionspresented,toensurethatthedatawillbeinterpretedcorrectly.Theoptions
availabledependonthetypeofdatafile(seebelow).
Microsoft Excel (XLS/XLSX) file options
l
First row contains field names:CheckthisoptiontousethefirstlineoftheExcelfileashead-
ers.Thisoptionautomaticallynamesallextractedfields.
l
Sheet:Onlyonesheetcanbeselectedasthedatasource.
l
Sort on:Selectafieldonwhichtosortthedata,inascending(A-Z)ordescending(Z-A)
order.Notethatsortingisalwaystextual.Eveniftheselectedcolumnhasnumbers,itwill
besortedasatext.
CSV file options
l
Encoding:TheDesignercannotinferfromaCSVfilewhatencodingitisin.Thedefaultisright
inthelargemajorityofcases,butwhenitisn't,itcanbeverydifficulttofigureoutthecorrect
encoding.Askyoursourcewhattheencodingofthefileis.
l
Field separator:Choosethecharacterthatseparatesthefieldsinthefile.
l
Comment delimiter:Iftherearecommentlinesinthefile,typethecharacterthatstartsacom-
mentline.
l
Text Delimiter:Typethecharacterthatsurroundstextfieldsinthefile.Otherdelimiterswillnot
beinterpretedwithinthesetextdelimiters.
Page 713