Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not updating table
Message
De
14/06/2005 09:31:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Not updating table
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01023078
Message ID:
01023078
Vues:
69
I have the following code. But once I condcut a =requery(), nothing shows up in the table. When I look at the raw data, the records are not being updated.
SELE v_FedEx  &&This is a local view. the base table is FEDEX.dbf

llsuccess = TABLEUPDATE(.T.)

IF !llsuccess
	aerror(aSQLError)
	msg = "Data was not saved -- call a programmer"
	messagebox(msg, 0+16+0, "Data Update Failure")
	list memory like aSQLError noconsole to print
	=TABLEREVERT(.t., .t.)
	=REQUERY()
ELSE
	brow && At this point, everything looks okay
	=REQUERY()
	brow  && At this point, nothing appears in the local view of the table
ENDIF
Thanks in Advance.

J. Turner
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform