Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transaction in Visual Foxpro
Message
De
03/01/2002 07:39:10
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00600175
Message ID:
00600195
Vues:
25
Are you talkin about the FP connectivity kit? if so this has to connect to sqlserver/oracle/etc..

>>In additional transactions only work for tables that belong to a database not over free tables.
>
>Not completely true IMO; in the earlier years of FoxPro (I think it was even FoxBase) it came with some additional Libraries that provided for just the same Begin - and End Transaction of today. Don't ask me whether this 'd work for VFP tables ...
>
>Peter
>
>
>
>>
>>>Transactions are used to save "all or nothing", usually in more than one table.
>>>
>>>Typical scenario:
>>>
>>>
>>>begin transaction
>>>if TableUpdate(.T., .F., "Table1") and TableUpdate(.T., .F., "Table2")
>>>  end transaction
>>>else
>>>  rollback
>>>endif
>>>
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform