Hi, I'm trying to do a method, but there's allways this mistake 7325.
'QUERY-PREPARE text must have 1 FOR EACH/PRESELECT for each query buffer. (7325)'
I'm searching why I'm wrong for few days. But after looking every examples that I can find, I can't tell why i'm wrong here.
When I don't use a comma in QUERY-PREPARE, it seems to be OK, but when I need it for " FOR EACH PROJET, FIRST [...]", there's an error.
Maybe i'm doing all wrong ?
There's the following code :
Thank you for reading
'QUERY-PREPARE text must have 1 FOR EACH/PRESELECT for each query buffer. (7325)'
I'm searching why I'm wrong for few days. But after looking every examples that I can find, I can't tell why i'm wrong here.
When I don't use a comma in QUERY-PREPARE, it seems to be OK, but when I need it for " FOR EACH PROJET, FIRST [...]", there's an error.
Maybe i'm doing all wrong ?
There's the following code :
Code:
CREATE BUFFER wl_buffer_query FOR TABLE "{&ATS_PROJET}".
CREATE QUERY wl_query.
wl_hb:BUFFER-CREATE ().
wl_query:SET-BUFFERS (wl_buffer_query).
wl_query:QUERY-PREPARE ("FOR EACH ":U + wl_q1 + wl_q2 + "NO-LOCK":U + wl_q3). //error 7325, because of the comma ? of wl_q3 in other examples it seems to work, what's wrong here ?
Thank you for reading
Last edited: