SELECT 0
USE h-1b_fy14_q4 ALIAS mastfile
SELECT 0
USE us_cities ALIAS cities
SET ORDER TO city
SELECT mastfile
GO top
DO WHILE .not. EOF()
mcity = RTRIM(lca_case12)
mstate = lca_case13
SELECT cities
SEEK mcity + mstate
IF FOUND()
* found it
mlat = n3
mlng = n4
ENDIF
SELECT mastfile
SKIP
ENDDO
RETURN

cities is indexed on rtrim(city) + rtrim(state)

not finding the records..

what am I missing in the seek portion?

I know about the problem in the found part, just haven't fixed it yet

thanks,

Virgil


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAPuy6VP8m5DSY=iedq8yx6wsy6s+0ytqw2hixcevv5g5jwe...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to