powerbuilde
Programmer
Hi
I have window- with dw object - when i open this window i retrieve all records in the datawindow (dw_1.retriev())
when user wants to search for a specific record i put criteria he enteres in valid expression(ls_filter)
then dw_1.setfilter(ls_filter)
dw_1.filter()
my app works fine when server is on local net work
now it is required to put server on the net(cloud) so in open event i can not retrieve all rows as it take about five minutes to retrieve all rows(very very long period)
so in sql synatx of dw_1 I i added top 100(after select) that make dw to retrieve only last 100 rows
my question is if user want to search for specific record is this mean i must retrieve all rows to search and thus take long time again to load all row s
is this right??
or there are other solution?and how
Best Regards
I have window- with dw object - when i open this window i retrieve all records in the datawindow (dw_1.retriev())
when user wants to search for a specific record i put criteria he enteres in valid expression(ls_filter)
then dw_1.setfilter(ls_filter)
dw_1.filter()
my app works fine when server is on local net work
now it is required to put server on the net(cloud) so in open event i can not retrieve all rows as it take about five minutes to retrieve all rows(very very long period)
so in sql synatx of dw_1 I i added top 100(after select) that make dw to retrieve only last 100 rows
my question is if user want to search for specific record is this mean i must retrieve all rows to search and thus take long time again to load all row s
is this right??
or there are other solution?and how
Best Regards