Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem updating a view
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00171363
Message ID:
00171377
Views:
22
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>
Previous
Reply
Map
View

Click here to load this message in the networking platform