Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select count(*) from,
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Select count(*) from,
Miscellaneous
Thread ID:
00665646
Message ID:
00665646
Views:
94
Can i use this query in visual foxpro to get the count.
If the count is greater than one then there is a record with the same values and can show a message duplicate record found.


lcSource = "SELECT count(*) from sub ;
WHERE sub.project_no = projno ;
AND sub.workpkg_no = workpkgno ;
AND sub.sub_sec = subsec ;
AND sub.sub_para = subpar ;
AND sub.sub_seq = subseq ;
AND DELETED() = .f. ;
ORDER BY project_no, workpkg_no ;
into cursor cSource"


Thank you.
Next
Reply
Map
View

Click here to load this message in the networking platform