Re: VFP9 SP2: How do I copy a view in the data environment
- From: "W. Schmale" <teseter@xxxxxxxxxxxxx>
- Date: Sat, 1 Aug 2009 18:30:22 +0200
Hi John,
Which sort of view do you mean?
A local SQL View a Remote View or such a set of tables that you use in the DE?
The definitions of Local SQL Views and Remote Views are stored in the DataBaseContainer.dbc. If you want to reuse such this sort of view:
Modify form myForm.scx
click on menu [View]->Dataenviroment then with click with the right mouse on the DE window and use ADD...
In the dialog click on [views] and now you will see all views you've already defined in DBC. Select the one you want to use again, klick [Add] and then on [OK].
In the DE you select the view you just added and activate in the Properties window the tab [Data]. In the property sheet you can alter the alias of the view.
If you mean a set of tables which was in former VFP version called VIEW, you should start the form, select the appropiate datasession and use the command:
CREATE VIEW FileName
Look in the VFP help file for further information.
Or do you want to save the whole dataenviroment as a class?
If it is so open your form's dataenviroment activate it which the mouse and in menu [File] [Save as class] you can select [dataenviroment} to save your DE as a class.
--
-------------------------------------------------------------------------------------------------------------------------
Mit freundlichen Grüßen aus der Zigarrenstadt Bünde
Wolfgang Schmale
"John Dandy" <jdandy@xxxxxxxxxxx> schrieb im Newsbeitrag news:aac6751qvvmffo96a5dnt8ph7bh01hs1n5@xxxxxxxxxx
I don't want to rebuild a view I already have in the data environment.
I want to copy it, rename and use it again. How do I do this?
John
.
- Prev by Date: Re: Incorrect DOS Version
- Next by Date: Re: Incorrect DOS Version
- Previous by thread: Re: Incorrect DOS Version
- Next by thread: Re: VFP9 SP2: How do I copy a view in the data environment
- Index(es):
Relevant Pages
|