Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to handle the duplicate value in grid
hi,
i have problem with my grid. I am developing an application.
That application have one grid, and the value in grid must not has duplicate value.
For example, one transaction have one transaction number, and have many stuff. And that stuff must not has duplicate value.
Please give me some example. Because i've try to use this code :
select m_stuff
nNumber = recno()
cStuff = f_stuff
locate for cstuff = f_stuff and nNumber <> recno() and m_stuff1.f_code = m_stuff2.f_Code
And i use, table buffer with pesimistic locking at table in both table(m_stuff1 and m_stuff2)
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement