F ferrugem New Member Jan 14, 2003 #1 Hi, Anybody know why getQueryPositon doesn´t work in version 9.1c ? thks, Ferrugem
N Norman Biggar Member Jan 14, 2003 #2 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.
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.
F ferrugem New Member Jan 14, 2003 #3 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. Click to expand... 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
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. Click to expand... 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
N Norman Biggar Member Jan 14, 2003 #4 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.
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.