What you ask is quite straightforward, but what kind of 'fields' are involved?
You can call the example macro at
http://www.gmayor.com/installing_macro.htm to update your fields, but how to get the data from them will depend on what type of fields they are.