Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in table buffering
Message
De
09/06/2007 08:37:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/06/2007 08:08:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01231651
Message ID:
01231772
Vues:
13
You're checking buffering for one and not the other. A corrupted index? Table header is off by one record?
Cetin

>ou, yes Cetin,
>and as I told you the same application with the same data works on my PC.
>I thought it could be a problem of different version of Windows but it is not. MAybe some libraries ? I don't really have ideas..
>
>
>>>I have two table to update belonging to 2 different databases.
>>>here is the code
>>>
>>>>A trigger invoking tableupdate in another table?
>>>>Cetin
>>>
>>>If !CursorGetProp("Buffering",'artmag') = 5
>>>     =MessageBox("warning message")
>>>     Return
>>>EndIf 	
>>>
>>>Begin Transaction
>>>llokSave =.f.
>>>
>>>if tableupdate(1,.f.,'artmag')
>>>   if tableupdate(1,.f.,'e_artmag')
>>>      llOkSave = .t.
>>>   EndIf
>>>EndIf
>>>If llOkSave
>>>   End Transaction 				
>>>Else
>>>  RollBack
>>>  =TableRevert(.t.,'artmag')
>>>  =TableRevert(.t.,'e_artmag')
>>>  Return .f.
>>>EndIf 	
>>>
>>>
>>>What i cannot explain is that on my PC everything run ok.
>>
>>Hard to track down. Did you check you're using intended tables?
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform