Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select picking up a deleted record
Message
De
18/11/2004 09:19:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL Select picking up a deleted record
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00962577
Message ID:
00962577
Vues:
50
Hello everyone,

VFP8 SP1.

I am having a little bit of trouble. The following SQL select is always including a deleted record.
SELECT jid.DeliveryKey;
	FROM v_JobIteDel jid;
	JOIN v_JobItems ite ON jid.JobIteKey = ite.JobIteKey;
	WHERE jid.DeliveryKey = v_delivery.DeliveryKey;
	INTO ARRAY aTemp
The value of SET DELETED is ON. The above statement is joining two updateable SQL passthrough cursors that have a buffer mode of 5. The deleted record has not been committed at the time the Select statement is executed.

I get the feeling this is something to do with VFP ignoring buffered data in SQL select statements. If this is the case, how can I process similar to the above? Even though I have asked for a single column, I am only actually interest in the _TALLY ie., zero and there is no match, anything greater than zero, matches exist.

Thank you all!

Regards,

Angie.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform