Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate error message. What does it mean?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Tableupdate error message. What does it mean?
Divers
Thread ID:
00492652
Message ID:
00492652
Vues:
55
I'm getting the following message from tableupdate:

Illegal to attempt a file lock in a transaction after
takin prior record locks.

Here is the code...
if messagebox('Delete order '+alltrim(order.nordernum)+' and all related order 
detail?',MB_YESNO,'Warning!')=IDYES then
        select orderdet
        delete for nordernum=order.nordernum
        select order
        delete next 1
        begin transaction
        if tableupdate(.t.,.t.,'order') and tableupdate(.t.,.t.,'orderdet') then
          end transaction
          thisform.release
        else
          rollback        
          oWFMaint.TableError
          return
        endif  
I can't see what is wrong.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform