Hi Pete,
Sounds like your using MOSS and the User Profiles. I hope your not querying the database tables as this is unsuported by Microsoft. You should write a web part and use the API to query the values for the current user. The following code gets the current user's profile and the in/out status.
// get the current site
SPSite site = SPControl.GetContextSite(HttpContext.Current);
// get the current user
SPUser currentUser = site.RootWeb.CurrentUser;
// get the server context and user profile manager
ServerContext context = ServerContext.GetContext(site);
UserProfileManager profileManager = new UserProfileManager(context);
// get the user profile for the current user
UserProfile profile = profileManager.GetUserProfile(currentUser.LoginName);
string inoutstatus = profile["inoutstatus"].toString();
You can set values by using profile["inoutstatus"] = "out"; and use profile.Commit(); to save
Hope this helps
Dave
My SharePoint Blog
http://www.davehunter.co.uk