Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Twice a key in a table
Message
De
01/05/2006 12:12:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01118041
Message ID:
01118073
Vues:
13
No it returns .f. when you haven't left the row yet and edited it to be the same as another existing key. If you scatter to an object before editing you can compare if it's already the same row or an edited new value.
Cetin

>Tank cetin,
>
>indexseek() on plan.dbf...
>
>yes , but in 'edit mode ' ( no append mode ' ) indexseek() return always .T..... ?
>
>bernhart
>
>>>Hi all,
>>>
>>>I have
>>>
>>>Plan.dbf
>>>cnumplan ( ex '600400' )
>>>cdenomplan 'Achat marchandises'
>>>
>>>
>>>I use local vfp view with BUFFERMODEOVERRIDE = DB_BUFOPTTABLE && optimistic table buffering
>>>
>>>In addition mode or edition , I don't want twice numplan = '600400'...
>>>
>>>In beforesave() , what can i put as sqlclause ?
>>>
>>>Sorry for my poor english
>>>
>>>bernhart
>>
>>Bernhart,
>>Check indexseek().
>>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