Assigning CALCFIELD

idontknowidontknow Member Posts: 66
Is it possible to assign the value of a CALCFIELD to a variable?

If possible,how?

Answers

  • JedrzejTJedrzejT Member Posts: 267
    Hi,

    First use rec.CALCFIELDS(FieldName) then
    Variable:=rec.FieldName
  • BeliasBelias Member Posts: 2,998
    mytable.calcfiels(myfield1,myfield2...);
    myvariable1 := myfield1;
    myvariable2 := myfield2;
    
    jedrzejT was faster...i've to wake up from winter holidays :(
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.