Exporting Contacts

S

Sue McCain

I've developed a custom form that I use as the template
for a subfolder in Contacts (thanks, Sue!) It includes
several fields that I defined. I want to export it to
Access (or import it into Access). The exported (or
imported) file doesn't include my new fields (it does
incude "User1" etc, but they're empty.) What am I doing
wrong?

Also, I added some check boxes to the form. When I check
them when entering and saving the contact, the check
doesn't get saved. It is always empty when I reopen the
contact. Help! And thanks.
 
H

Hollis D. Paul

I've developed a custom form that I use as the template
for a subfolder in Contacts (thanks, Sue!) It includes
several fields that I defined. I want to export it to
Access (or import it into Access). The exported (or
imported) file doesn't include my new fields (it does
incude "User1" etc, but they're empty.) What am I doing
wrong?
The Outlook ex/import wizards cannot handle custom fields. You need to
write code that moves the fields to destination database (?). Search
on www.slipstick.com, using 'import', without the quotes and you should
find an example of how to do this.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
H

Hollis D. Paul

Also, I added some check boxes to the form. When I check
them when entering and saving the contact, the check
doesn't get saved. It is always empty when I reopen the
contact. Help! And thanks.
The grand design of Outlook forms is to separate the form definition
from the values that are displayed in the controls. You have to save
the values to fields, which are stored in the data Item. This is
accomplished by binding the control to a field, which is defined for
the purpose of holding those values. Did you do this during your
initial form design? If not, you will have to go back into design
mode, create new fields, and bind your checkbox controls to them.

That grand design also means that when you open a form, you have to
initialize the values of all the controls. Normally, you check the
size field of the item to determine if the item is being opened for the
first time. If it is zero, then you skip the initialization code. If
it is non-zero, you then run the initialization code that moves the
values in the fields to their bound control. There should be an
example of this on www.slipstick.com.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top