getQueryPositon

I'm working in V9.1C08 and regularly use this function. It works OK.

{get QueryPosition cPosition h_sdo}.
IF cPosition BEGINS "NoRecordAvailable" THEN DO:
....
END.
 
Originally posted by Norman Biggar
I'm working in V9.1C08 and regularly use this function. It works OK.

{get QueryPosition cPosition h_sdo}.
IF cPosition BEGINS "NoRecordAvailable" THEN DO:
....
END.

Thks for your reply Norman, but I´m using dynamic-function in a trigger section like this:


IF DYNAMIC-FUNCTION('getQueryPosition' IN sdo ) = 'NoRecordAvailable' THEN DO:

....

end.

The problem occur when i compile this code in a 9.1c, this function seems that doesn´t work.

Do you know something about this?

Thks again,

Ferrugem
 
We're both doing the same thing, but using different notation. The {get ...} notation is just a quicker equivalent.

First, I'd check what the function is returning, by using a message statement.

Be especially careful about using "=" as the test. Often "BEGINS" is a better option.
 
Back
Top