[progress Communities] [progress Openedge Abl] Forum Post: Re: Dynamic Query

  • Thread starter Thread starter Ab Himmit
  • Start date Start date
Status
Not open for further replies.
A

Ab Himmit

Guest
Brian, I have tried the below code and it's having problems with the first table "addrtype". The error I'm getting from the syntax check is "missing FOR, FIND or CREATE for table with addrtype in current block" I'm trying to figure out why. Why with the ADD-BUFFER. And not with the SET-BUFFERS. CREATE QUERY qry_Address. /*DO lv_x = 1 TO NUM-ENTRIES (ip_Buffers): */ /* // MESSAGE ENTRY(lv_x, ip_Buffers) VIEW-AS ALERT-BOX. */ /* CREATE BUFFER lv_buffers FOR TABLE ENTRY(lv_x, ip_Buffers).*/ /* qry_Address:ADD-BUFFER(lv_Buffers:HANDLE). */ /*END. */ CREATE BUFFER lv_buffers FOR TABLE addrtype. qry_Address:ADD-BUFFER(lv_Buffers:HANDLE). CREATE BUFFER lv_buffers FOR TABLE address. qry_Address:ADD-BUFFER(lv_Buffers:HANDLE).

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