Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views vs. Tables in Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00260732
Message ID:
00261219
Views:
19
>Here is the scenario. The software we are designing is used to maintain the inventory of a vault that houses magnetic media (tapes, CD's, etc.). There may be five hundred customers with a total of one million tapes.
>

OK. Form is Tape finder. Page One is a lisitng of all customers with their customer #. Dblclick event of the grid will shift focus to page 2. page 2 has a parameterized view of all media by customer #. The activae page event selects the proper view, requerys the data and presents it. If you loaded that view with nodata you could index it any way you need now and each requery would keep those index tags.

In my big table of just under 1 million records it take less than 2 seconds to see all transactions for any inventory item we use in manufacture. {part history}

__Stephen

>Now, in working on the data entry screen, the software will need to search through the list of tapes for the customer for which the user is performing data entry. If the user has to perform data entry for say, thirty tapes, then switch to the next customer, the user will end up waiting longer for the view to perform the query then it takes the user to perform the data entry. I will also need to quickly locate a single tape within the query results--a result set that could easily approach fifty or even one hundred thousand records. This causes concerns about the speed of the seek/locate commands that I would be using.
>
>A common example would be that when the user deposits a tape into the system, the software must first check the result set for that tape number. We don't want the user to redeposit a tape by mistake. So if the dataset is seventy five thousand records without an index, then the locate would be excruciatingly slow. Now if I were to create an index to speed the locate, then the inital load (query/index creation) would take an excessive amount of time and our users would complain about the speed. So what would you do?
Previous
Reply
Map
View

Click here to load this message in the networking platform