Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anything wrong with this INSERT() wrapper ?
Message
De
25/04/2002 02:40:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/04/2002 23:00:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648352
Message ID:
00649002
Vues:
17
Snip...
>>-Called the same routine with same values (matching to current record keys)
>>-Indexseek would return .f. causing an insert
>>Cetin
>
>Hi Cetin,
>Thanks, I didn't realize that INDEXSEEK() would return .f. if the table was buffered and the current record was the one you were looking for and it hadn't been TABLEUPDATE()d yet. I did discover that once you move off the record, then INDEXSEEK() finds it, even without TABLEUPDATE(). I liked the idea of not moving the pointer if it was already on the correct record, but now I'll have to rethink it.
>
>BTW, since you appear to be so good at buffers, is there any way I can get a SELECT .... to query buffered data? That's one of my achilles heels to remember that SELECT ... ignores the buffer.
>
>Thanks again.

Bill,
AFAIK no way directly on buffered data. You might either use nonSQL commands or copy to a temp table and SQL from there.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform