pulldata() missing some records

737
3
03-17-2017 07:57 AM
ErikLeigh
New Contributor III

I'm trying to use the pulldata() function as a license record lookup to populate data in a form header.  It seems to work almost all the time, but for some reason it will not return specific records when chosen and I can't figure out why.  It doesn't seem to be a coding issue because it works just fine on other records using the exact same parameters in pulldata().  I thought maybe there were some sort of text character issues, but again, I can't figure out what.  Any suggestions would be appreciated. 

3 Replies
ErikLeigh
New Contributor III
LicenseNumberEstablishmentOwner NameOwner EmailLocation Addr Line 1Location CityLocation County
F22AMERICAN LEGIONAMERICAN LEGION POST #19 110 E 3RD AVEBIG TIMBERSweet Grass
F28EAGLES STOREEAGLE COMPANY INCEAGLES.MANAGER@WYELLOWSTONE.COM3 CANYON STWEST YELLOWSTONEGallatin
F29STOCKMAN BAR & CASINOT J T105 MAINROUNDUPMusselshell CO/Central MT Hlth
F31VFW BARVFW POST 276 20 BAKERWHITEFISHFlathead
F35EAGLES CLUB FOE 689F O E # 689BOX 518CHINOOKBlaine
F38VFW CLUBV F W 218 S MERRILLGLENDIVEDawson
F105CORNER BARPEGGY A ROST3212 EUCLIDHELENALewis and Clark
F119SWAN VALLEY CENTREAAA QUALITY SERVICES INC6799 HWY 83/MILE POST 42CONDONMissoula

Just an example of my data and code I've tried using. The yellow highlighted rows fail to return anything.  The other records work just fine. 

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Erik,

Is it possible to create a select_one from your LicenseNumber column and test that? I'm not seeing anything obvious (unless there's extra white space in some values- you might want to open the CSV in a text editor and check).

0 Kudos
ErikLeigh
New Contributor III

Hi James,

Thanks for the follow-up. I would rather not do a select_one as a permanent fix. There are over 11 thousand records in my full data set. I could erase the majority and test it however.

Sincerely,

Erik Leigh, RS

Montana DPHHS

Food and Consumer Safety Section

1400 Broadway, Room C-214

Helena, MT 59620

406-444-5306

eleigh@mt.gov<mailto:eleigh@mt.gov>

0 Kudos