How to show value of a field in another field

HI

I am have a created a module using module builder (similar to contacts), it includes first name,last name, name. What I need is I will enter details only in first name and last name and I have to show the full name (fname + lname) in name field. how this can be achieved?

I think this is to be done with vardefs, am I correct here?

Thanks

You can use logic_hooks http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Module_Framework/Logic_Hooks/Module_Hooks/after_retrieve/ take a look at the documentation

best regards

Yes, Thanks mike.

I have got experience with logic hooks but want to know is it possible to include logic hook function for the module which is built using module builder?if yes , where to place the files in that module?