PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Data Bind Failed on Spreadsheet Control v10 after installation of

Reply

Data Bind Failed on Spreadsheet Control v10 after installation of

 
Thread Tools Rate Thread
Old 25-08-2004, 12:41 PM   #1
=?Utf-8?B?RXJpYyBGaW50ZWw=?=
Guest
 
Posts: n/a
Default Data Bind Failed on Spreadsheet Control v10 after installation of


I have a customized Public folder form (it is not a one-off form) that has
version 10 of the Microsoft Spreadsheet control on it. The custom form is
based off the task form. Everything was working fine until we installed
Office XP SP3. We now get an error "Data Bind Failed". This custom form
also will not work with Outlook 2003.

I used the wizard to setup the Datasource and command text. The "test
connection" works fine from within the wizard. We are trying to bind to SQL
Server 2000.

The returned connection string from the wizard looks like this:
"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=xx;Initial
Catalog=xxxxxx;Data Source=xxxxxx;PASSWORD=xxxxxx;"

To work around this problem I can get a recordset and loop through the rows
of the recordset populating the spreadsheet one cell at a time.

I would like to understand what is going on that caused this problem after
installing SP3. A better understanding of this problem will allow me to make
better decissions in the future regarding custom form development.

Thank you,
Eric Fintel
  Reply With Quote
Old 25-08-2004, 05:12 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Data Bind Failed on Spreadsheet Control v10 after installation of

Outlook doesn't suppport binding form controls to datasources. You will need
to write code to fill the spreadsheet control with the desired data.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Eric Fintel" <Eric Fintel@discussions.microsoft.com> wrote in message
news:CCFC467E-CF29-4842-B399-E188B491AEBC@microsoft.com...
>I have a customized Public folder form (it is not a one-off form) that has
> version 10 of the Microsoft Spreadsheet control on it. The custom form is
> based off the task form. Everything was working fine until we installed
> Office XP SP3. We now get an error "Data Bind Failed". This custom form
> also will not work with Outlook 2003.
>
> I used the wizard to setup the Datasource and command text. The "test
> connection" works fine from within the wizard. We are trying to bind to
> SQL
> Server 2000.
>
> The returned connection string from the wizard looks like this:
> "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=xx;Initial
> Catalog=xxxxxx;Data Source=xxxxxx;PASSWORD=xxxxxx;"
>
> To work around this problem I can get a recordset and loop through the
> rows
> of the recordset populating the spreadsheet one cell at a time.
>
> I would like to understand what is going on that caused this problem after
> installing SP3. A better understanding of this problem will allow me to
> make
> better decissions in the future regarding custom form development.
>
> Thank you,
> Eric Fintel



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off