V
Victor Cheung
I wrote a retail mangement software.. and it keeps tracks of all the sales
transaction.. and one access database keep tracks of all the sales history..
from the beginning.. there is no problem searching the access database.. and
display certain day's sales.. but after a while.. or when the access
database get bigger.. there is problem searching the access database.. the
database contain the day's sales.. but.. when the program try to seach the
database for the day's sales.. it find nothing.. anyone know why? it is
under windows xp... with DAO
method of searching
dim data....
dim recordset..
if data.eof=false or data.bof=false then
data.movefirst
end if
do while data.eof=false
if txndate="01/01/2003" then
'display sales
text1.text=data!date
text1.text=data!name
text1.text=data!total
end if
data.movenext
loop
just sample..
transaction.. and one access database keep tracks of all the sales history..
from the beginning.. there is no problem searching the access database.. and
display certain day's sales.. but after a while.. or when the access
database get bigger.. there is problem searching the access database.. the
database contain the day's sales.. but.. when the program try to seach the
database for the day's sales.. it find nothing.. anyone know why? it is
under windows xp... with DAO
method of searching
dim data....
dim recordset..
if data.eof=false or data.bof=false then
data.movefirst
end if
do while data.eof=false
if txndate="01/01/2003" then
'display sales
text1.text=data!date
text1.text=data!name
text1.text=data!total
end if
data.movenext
loop
just sample..