Here's the situation... I have a outlook custom form, mainly run by a vbscript. I'm trying to add a custom textbox field into the code. I understand how to add the field to the form.. and how to add it into the code. However, because outlook 98 works the beautiful (ahem) way it does, the custom field needs to be defined within the code in some shape, way or form. As you can see here....
Set dao = Application.CreateObject("DAO.DBEngine.35")
Set dao = DAO.Workspaces(0)
Set dbs = dao.OpenDatabase(strDBName)
Set rst = dbs.OpenRecordset("tblContacts")
If Item.Title <> "" Then rst.Title = Item.Title
If FirstName <> "" Then rst.FirstName = FirstName
If Item.MiddleName <> "" Then rst.MiddleName = Item.MiddleName
If Item.LastName <> "" Then rst.LastName = Item.LastName
If Item.Suffix <> "" Then rst.Suffix = Item.Suffix
If Item.ScreenPass <> "" Then rst.ScreenPass = Item.ScreenPass
Here is a small cut of the code... The ScreenPass is a custom item. I'm just trying to finally get the object to recognized the method/property so that is will export the info to the database... just like it does for all the microsoft predefined fields.
Like i said... it all works fine until the custom field... any ideas?