I understand the basics on how to manipulate fields. What I would like to know is how to your write the code for somthing like this if txtName == "Kevin" then number = pi * 12 else number = pi * 20 I hope I explained my self ok there lol. Thanks Kevin