StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Can the...Expand / Collapse
Author
Message
Posted 09/22/2006 12:58:00 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
I have a BO with a preconfigured data source of "VFPData".  I am trying to do a conversion from Fox data to SQL.  The FoxBO has to be able to look at many different files with the same structure.  So, is it possible to change the connectionstring of the VFPData datasource then call the fill method and have it look at a different table?  I would think this would work but it keeps looking at the original table.  I am even calling the dispose on the bo and creating it everytime I change the connectionstring. Any suggestions.
Post #2988
Posted 09/22/2006 1:11:23 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
Sorry.  Answered my own question.  Stupid mistake on my part.  Thanks
Post #2989
Posted 09/26/2006 2:52:20 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/09/2008 3:36:08 PM
Posts: 2,686, Visits: 1,891
I know you've already answered this for yourself, but the best way would be to just add a separate VfpDataSourceItem for each VFP connection string and just change the DataSourceKey on the business object to the appropriate data source when you need the data from a different one.


www.bungie.net
Post #3080
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:32pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.