1) TTLFLTR6 = ALLTRIM(S1.DESC) = && Fltr items staring with Letter S
2) TTLFLTR6 = ALLTRIM(S1.DESC) = [SH] && Filter items staring with Letter SH
Step by Step
lcOB12 = 'S1.Desc'
SELECT S1.Desc,S1.Acitno,S1.Prtno,S1.On_hndq,S1.Bn,S1.Slgrte,S1.Prcrte,;
S2.Pckg,S2.Grs_Wght,S2.Net_Wght,S2.CBM ;
FROM Stk1 S1 ;
LEFT JOIN Stk2 S2 ON S1.Acitno = S2.Acitno ;
WHERE &TTLFLTR6 ;
ORDER BY &lcOB12 ;
INTO CURSOR Lst_As ;
READWRITE
thisform.List1.RowSource = lcRowSource
SELECT Lst_As
INDEX ON DESC TAG DESC
INDEX ON PRTNO TAG PRTNO
INDEX ON VNDRCD TAG VNDRCD
INDEX ON ACITNO TAG ACITNO
INDEX ON SETCODE TAG SETCODE
INDEX ON LINKPNO TAG LINKPNO
SET ORDER TO Desc IN Lst_As
List1 RowSourceType = 6-Fields
Above Coding is calling in text box text1 InteractiveChange Event this is for users to search there relevant items in stock table while making invoice
Stock table has records up to 15000
It is okay while working on Server Machine but on Network machine Filtering of items are very slow what are the reasons of slowness on network machines
2) TTLFLTR6 = ALLTRIM(S1.DESC) = [SH] && Filter items staring with Letter SH
Step by Step
lcOB12 = 'S1.Desc'
SELECT S1.Desc,S1.Acitno,S1.Prtno,S1.On_hndq,S1.Bn,S1.Slgrte,S1.Prcrte,;
S2.Pckg,S2.Grs_Wght,S2.Net_Wght,S2.CBM ;
FROM Stk1 S1 ;
LEFT JOIN Stk2 S2 ON S1.Acitno = S2.Acitno ;
WHERE &TTLFLTR6 ;
ORDER BY &lcOB12 ;
INTO CURSOR Lst_As ;
READWRITE
thisform.List1.RowSource = lcRowSource
SELECT Lst_As
INDEX ON DESC TAG DESC
INDEX ON PRTNO TAG PRTNO
INDEX ON VNDRCD TAG VNDRCD
INDEX ON ACITNO TAG ACITNO
INDEX ON SETCODE TAG SETCODE
INDEX ON LINKPNO TAG LINKPNO
SET ORDER TO Desc IN Lst_As
List1 RowSourceType = 6-Fields
Above Coding is calling in text box text1 InteractiveChange Event this is for users to search there relevant items in stock table while making invoice
Stock table has records up to 15000
It is okay while working on Server Machine but on Network machine Filtering of items are very slow what are the reasons of slowness on network machines