Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-table delete view possible?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00996104
Message ID:
00996162
Vues:
14
>Hi Everyone,
>
>I have routinely used a two table view to delete a parent record and it's child records. Have used the view designer to do this and it works fine. But have just run into a case where I have a parent table and this table has 4 child tables related to it.
>
>When I tried to work up the view in the view designer, it seems to create it okay (somewhat) - and I used LEFT OUTER JOINS as not all the child tables will always have child records.
>
>Anyhow, could not save the view to try it out. Should I be able to do this in the view designer or do I have to do a hand-coded view? or maybe I have to do 4 different views, one for each child table?
>
>Thanks,
>Albert Gostick

The new view designer in the later versions of VFP should fix the problem your having...
Or you can use EView (located here in the downloads section)...
Or you can hand-code your views...

I've done things like this in the past & I've never had any problems, however I've been told it's not a good idea to have more than one updateable table in a view.....(I see Cetin has already pointed this out)
ICQ 10556 (ya), 254117
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform