Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View not updated
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00342982
Message ID:
00343060
Views:
28
CORRECTION

I left out the negation operator from the tableupdate test.

Use
if !TableUpdate(1,.T.,"int_doc_vnd")
   local laError[1]
   =aError(laError)
   if vers(2) > 0
      set step on
   endif
endif
Andrew

>Hi João,
>
>What does the TABLEUPDATE() return?
>
>For testing at least, I'd trap the tableupdate return value and use it to find out what's going wrong:
>
>
if TableUpdate(1,.T.,"int_doc_vnd")
>   local laError[1]
>   =aError(laError)
>   if vers(2) > 0
>      set step on
>   endif
>endif
>Then examine the contents of the laError array for a more detailed description of the problem.
>
>All of this assumes of course, that the view is actually updatable (properties set in the view designer).
>
>Cheers,
>
>Andrew
>

>>Hi All,
>>
>>I have a view with 10 records on it when i clik in save button i want to save this elements in all records of the view, but doesn't work
>>
>> replace;
>> c_TipoDoc with .Txc_TipoDoc.value;
>> c_armazem with .Txc_Armaz.value;
>> c_cod_ser with .Txc_Serie.value;
>> c_numdoc with .Txc_Numdoc.value
>> TableUpdate(1,.T.,"int_doc_vnd")
>> browse
>>
>>When i do browse the view is without changes, what could be happen.
>>
>>
>>Thank's in Advance,
>>
>>Joao Batista
>>(jbinf@mail.telepac.pt)
>>(Begginner VFP6.0)


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform