Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select query with 3 tables max fields only limited to 9
Message
From
21/05/2004 14:22:45
 
 
To
21/05/2004 14:11:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00906085
Message ID:
00906090
Views:
14

c.recip1, c.reciporg1
******************
LcSQL = [select distinct(a.tiffile), b.proj_no, b.workpkg_no, c.tofrm, c.sequence,;
c.docdesc, c.ref1, c.author1, c.docindex_i from ocrdata a, docudeck b, docindex c ;
WHERE UPPER(b.file_name) = UPPER(a.tiffile) ;
and b.docindex_i = c.docindex_i ;
and a.OCDATA like "%] + alltrim(thisform.text1.value) + [%" ;
order by a.id into Cursor lcSource]
*****************


Max literal string is 255 chars.

Then split it in substring components.
******************
LcSQL = [select distinct(a.tiffile), b.proj_no, b.workpkg_no, c.tofrm, c.sequence,;
c.docdesc, c.ref1, c.author1,c.docindex_i,c.recip1, c.reciporg1];
+[from ocrdata a, docudeck b, docindex c ;
WHERE UPPER(b.file_name) = UPPER(a.tiffile) ;
and b.docindex_i = c.docindex_i ;
and a.OCDATA like "%] + alltrim(thisform.text1.value) + [%" ;
order by a.id into Cursor lcSource]
*****************
Previous
Reply
Map
View

Click here to load this message in the networking platform