Calculation updates

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Calculation updates

Postby patrick » Fri Sep 03, 2004 11:24 am

Hello, I have a question regarding calculations: I know calculated fields are updated whenever a record is "touched". So if you want to re-calculate everything you can simply "walk" through all records.

Now the question: are calculations also updated when using getRecord()? My impression is: no. I also noticed that unstored calculations are not accessible using getRecord(). Has that been forgotten or will that never be possible? Could anyone clarify on that, please?

Thanks!
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Calculation updates

Postby Jan Blok » Wed Sep 08, 2004 11:27 am

patrick wrote:Are calculations also updated when using getRecord()? My impression is: no. I also noticed that unstored calculations are not accessible using getRecord(). Has that been forgotten or will that never be possible?

the Servoy 2.1 getRecord() function only retrieves the record object, but you can access unstored calcs!
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 35 guests

cron