﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Switch data source during runtime</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 16:21:35 GMT</lastBuildDate><ttl>20</ttl><item><title>Switch data source during runtime</title><link>http://forum.strataframe.net/FindPost8116.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Is it possible to switch data source (SQL Server -&amp;gt; Oracle / SQL Server -&amp;gt; VFP)&amp;nbsp;during runtime? How?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Tue, 17 Apr 2007 10:14:32 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Switch data source during runtime</title><link>http://forum.strataframe.net/FindPost8175.aspx</link><description>Yes, you can swap data sources at runtime.&amp;nbsp; You just need to call MicroFour.StrataFrame.DataBasics.DataSources.Remove("key") and then add a new data source to the collection with the same key, but of a different type (say, OracleDataSourceItem instead of VfpDataSourceItem).&amp;nbsp; You'll just need to make sure that if a business object talks to both, that all of the data types match up.&lt;/P&gt;&lt;P&gt;You also might need to change the config on your business objects some: say if the Oracle needs the sequence name for primary key insertion.</description><pubDate>Tue, 17 Apr 2007 10:14:32 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Switch data source during runtime</title><link>http://forum.strataframe.net/FindPost8170.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Any update?</description><pubDate>Tue, 17 Apr 2007 10:00:24 GMT</pubDate><dc:creator>Chan</dc:creator></item></channel></rss>