Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I use an Autoindex field in a view - VFP8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How do I use an Autoindex field in a view - VFP8
Divers
Thread ID:
00942151
Message ID:
00942151
Vues:
69
I have a child table that has as its primary key and autoinc field.
I have a one-to-many field for linking to the parent.
I want to use the child table's key as the key field to update the child table on.
i.e. Update the view via sql update replacing key fields and modified ones.

I use the view.
I then append a blank record.
I then issue a tableupdate(.t.,.t.) (forcing for testing purposes)
I look at the underlying child table from which the view was built and i see the changes

Now here's the problem.
I leave foxpro and return to it. I then go to the child table, browse it, and the records are no longer in it.

What's going on?
How do I fix this?
What have I forgot to do?

TIA,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform