Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve repeated data from detail Table
Message
From
27/04/2005 08:42:49
 
 
To
27/04/2005 07:06:08
Deepak Chopra
IBM Global Services India Pvt. Ltd.
Pune, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01008750
Message ID:
01008795
Views:
16
Thanks for Mr. Depak,

But Actual problem is in this area
when i retrieving data from the sql server using 'Select' satament with more than one conditions(Say, flag = .f. and Amount > 0
etc...), It retries duplicate records. But i supressed it by using 'Select Distinct statement', And it working fine.

But, In some situations i requred repeated items from the 'detail table'(eg. There is a possiblity of same 'Part No.' can be entred in two times). In this situation how will i fetch the same part nos. ?, The problem is, if i m using simple 'select statement' it wil retrieve duplicate records and if i use 'Select Distinct statement' it will eliminate the second entry of the same item.

regards
Abdulla
Previous
Reply
Map
View

Click here to load this message in the networking platform