Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem updating a view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00171363
Message ID:
00171377
Vues:
23
Hi Dan,
Thanks for the catch on the rollback....

I'm actually feeling a little foolish...I found my error.
I didn't have the product name field marked as updatable in the view designer.
I think I'll go bury my head in the sand for a while.

I looked straight at that thing I don't know how many times...oh well.

Thanks,
Rick
----------------
>
>Two things offhand strike me.
>Your tablupdate does not look right. The first parameter is to tell if you want to update allrows .T. or one row .F.
>
>Unrelated problem. You are'nt issuing a rollback.
>
>
>BEGIN TRANSACTION
> llSuccessfulUpdate = TableUpdate(.T.,.T., "vpOrderItemsSupplier" )
> IF llSuccessfulUpdate
> END TRANSACTION
> ELSE
> ROLLBACK
> ENDIF
>* END TRANSACTION
>
><\TEXT>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform