[progress Communities] [progress Openedge Abl] Forum Post: Searching A Dynamic Query

  • Thread starter Thread starter Eric Andruscavage
  • Start date Start date
Status
Not open for further replies.
E

Eric Andruscavage

Guest
I want to add a search to a dynamic query query used in a browse. (User types b, browse advances to first row where field starts with b; user types i browse advances to first row where field begins bi, etc) This is what I have now, stripped down. There must be a better way... assign vSearch. hQuery:get-first(no-lock). assign vRowid = rowid(conv). repeat: hQuery:get-next(no-lock). if hQuery:query-off-end then leave. assign vRowid = rowid(conv). if conv.prognm begins vSearch then leave. end. hQuery:reposition-to-rowid(vRowid).

Continue reading...
 
Status
Not open for further replies.
Back
Top