RE: DBI control update

Author: Tracy Pearson

Posted: 2011-11-10 at 11:15:50

Kent Belan wrote on 2011-11-10:

> Hello Tracy,

>

> I rebuilt the entire project but that did not change the controls on the

> forms to the new version.

>

> I opened the form.scx file and found the ctGrid OLE control, but not sure

> what field should be changed ?

>

> It looks like the OLE field contains the actual object, and OLE2 contains

> the path to the OCX file.

>

> I checked that the OCX in the DBI\Components folder is the new version,

but

> the form still shows the old version.

>

> I am guessing that I need to change the OLE field ?

>

> Thanks,

> Kent

>

Kent,

You're guessing right.

Create a form (vfp base form is fine) and add the ole control to it.

If memory serves, this was my method. I only had a couple of places to do

it.

As always, source control and a good back up are recommended. <smile>

Use the newly created form

Find the ole control

SCATTER FIELDS ole, ole2 MEMO NAME ole

Use the existing form

Find the ole control

GATHER NAME ole MEMO

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000501cc9fc4$03a89cd0$0af9d670$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Tracy Pearson