Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying Views???
Message
From
11/09/1997 18:24:06
 
 
To
11/09/1997 18:12:54
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00049688
Message ID:
00049692
Views:
54
>Is there any way to copy views? I've got a number of views I need to create for my database that only have minor differences so I'd love it if I could copy the first one and make the modifications to the subsequent ones.
>
>Since they aren't individual files, i.e. contained with a database, I'm not sure how or if I could do this.
>
>Thanks!
>Mandy
DBGETPROP(,"VIEW","SQL")
will fetch the sql and I have used this at times to modify a query and updated the dbc with
DBSETPROP(.....) I would have to look up syntax. I guess you could get the sql modify it, create a new view with the consistent items such as table,field etc, stuff in the modified SQL. I have no idea what the visual designer would think of this. The designer doesn't mind my modification so it should work. If so you could write a 'wizard' to allow you to modify the query and replicate the common view properties. Good luck!
HTH
Gary
Helping Make Ideas Reality
Previous
Reply
Map
View

Click here to load this message in the networking platform