Data Access Worldwide Knowledge Base

Article ID 2319
Article Title HOWTO: Switch workspaces on the fly
Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2319
KBase Category VDF12
Date Created 06/08/2007
Last Edit Date 06/08/2007


Article Text
QUESTION:
Please let me know how I can get workspace selection explicitly using open dialog box for path in Visual DataFlex 12.0

ANSWER:
The enclosed workspace shows how you can do this.

In this example, prior to switching workspaces all tables will be closed. The tables will be reopened after the switch. This of course only works when the tables in the newly selected workspace are of the same set. If you do not want that to happen, replace the code inside the routines that store and reload table information with your own code.



Contributed By:
Vincent Oorsprong
Company: Data Access Worldwide
email: vincent.oorsprong@dataaccess.eu
Web Site: http://www.dataaccess.eu

Web Links Related to this Article
File Using Workspace Selector.zip
URL=http://www.dataaccess.com/KBasePublic/Files/2319.Using Workspace Selector.zip


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.