Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle the duplicate value in grid
Message
From
06/09/2001 05:46:43
Henry Sudarma
Jakarta Institute of Technology
Jakarta, Indonesia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to handle the duplicate value in grid
Miscellaneous
Thread ID:
00553015
Message ID:
00553015
Views:
41
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)
Next
Reply
Map
View

Click here to load this message in the networking platform