doubt in procedure "message"

local procedure CalculatePrice()
var
book: Record Book;
begin

Message('the price of book is %1', book.Price);

end;
It is giving message that price of book is 0
i know its taking whole field. but how can i filter it so that it shows me only particular book price which i open
Related
Recommended