i forgot that getposition is not so old...unfortunately, recordref and fieldref are not stable in your version (if they exist), so i can't imagine a different solution :-k
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
i forgot that getposition is not so old...unfortunately, recordref and fieldref are not stable in your version (if they exist), so i can't imagine a different solution :-k
Comments
but be aware to not use any SETCURRENTKEY BEFORE...
read help online for more info about CURRENTKEY
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I was looking for sth with get...
Another question now,
and who could I get the value of this fields?
maybe getposition fits your needs...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Any solution?
It rings me a bell that it exists a method that you can get the value of a field in a record just knowing the name of the field but I don´t remember.
My code would be:
I need FUNCTION.
Thanks,
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Thanks anyway.
Why do you need this? It might be better to try thinking out side the box and do this another way.
RecRef.OPEN(parTableNo);
PrimaryKeyText := FORMAT(RecRef.CURRENTKEY);