Hi
I have a stock table which contains at least 1 million records.
This table contains the details of products In and Out and if take the details of a particular code it takes a long time to display.
My requirement is as follows:
micode = 'B1236'
dt1 = {01/01/2009}
dt2 = {31/12/2013}
Syntax I used:
select * from stock where icode = micode and between(date,dt1,dt2) into curs tmpStock
What I want is I do not want to create index on particular code, can I filter records based on any code like, B1236,W529,C1560 etc etc. and what is the syntax for that for both (Dos FPD26a AND VFP9).
Please guide
Thanks
Saif
I have a stock table which contains at least 1 million records.
This table contains the details of products In and Out and if take the details of a particular code it takes a long time to display.
My requirement is as follows:
micode = 'B1236'
dt1 = {01/01/2009}
dt2 = {31/12/2013}
Syntax I used:
select * from stock where icode = micode and between(date,dt1,dt2) into curs tmpStock
What I want is I do not want to create index on particular code, can I filter records based on any code like, B1236,W529,C1560 etc etc. and what is the syntax for that for both (Dos FPD26a AND VFP9).
Please guide
Thanks
Saif