Caros,
Segue uma base de ceps mais atual com 1.345.486 ceps, já no formato para ser importada.
Abaixo o código para fazer a importação:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | static void loadCepsFromFile(Args _args) { AddressZipCode buffer; Dialog dialog; DialogField dfFileName; TextIO inFile; RecordInsertList recordInsert = new RecordInsertList(tableNum(AddressZipCode)); Container line; ; delete_from buffer; dialog = new Dialog("Selecione o arquivo"); dfFileName = dialog.addField(typeId(FilenameOpen), "Selecione o arquivo"); if(!dialog.run()) return; inFile = new TextIO(dfFileName.value(), 'R'); inFile.inFieldDelimiter(";"); line = inFile.read(); while(line) { buffer.ZipCode = conpeek(line,1); buffer.City = conpeek(line,2); buffer.StreetName = conpeek(line,3); buffer.CountryRegionId = conpeek(line,4); buffer.State = conpeek(line,5); buffer.CityAlias = conpeek(line,6); buffer.DistrictName = conpeek(line,7); recordInsert.add(buffer); line = inFile.read(); } recordInsert.insertDatabase(); } |
[]s
Pichler
108 Responses
Larue
05|May|2020 16. _ ________-______ _______ ____________ ___.
__
22|May|2020 2Great post.
_____
22|May|2020 3I think this is among the such a lot vital information for me.
Annd i am glad reading your article. But should commentary onn sone normal things, The site style is ideal,
tthe articles is really nice : D. Excellent process, cheers
webpage
17|Jun|2020 4E tambm acesso no gostava com carecas.
Anonymous
06|Aug|2020 5Doutoranda em Teoria Literria pela UNICAMP.
discuss
05|Nov|2023 6discuss
Base de Ceps by Dynamics AX Brasil
UK Entrepreneur visa
12|Dec|2023 7UK Entrepreneur visa
Base de Ceps by Dynamics AX Brasil
H1B Visa Business Plans Indiana
24|Dec|2023 8H1B Visa Business Plans Indiana
Base de Ceps by Dynamics AX Brasil
Leave a reply
Search
Tags / Categorias
RSS
Arquivo
Blogroll
A design creation of Design Disease
Copyright © 2007 - Dynamics AX Brasil - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting. (Modified by Ricardo Pichler.)