![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using FM Server 5.5 and FM Pro 5.5, multiuser solution. I have scripted a Go to related records (one to many). It works fine. Then I need to carry out a Find within this records. I have found no easy way to do it. The best option I have tried so far it is to create a script in the related file that flags the found records, then adds a Find script step that includes all the desired parameters + the flag field. However, this option is not practical. The database consist of +200.000 records and growing fast. This means that the Replace step can take several minutes to complete. Besides, after finding and showing the records, I need to reset the flag field, so that it is ready for a future find. I have also tried a loop, that includes or excludes records based on the find criteria. However, this is also a very slow solution. Is there any optimal way to do this in a networked solution with so many records? From what I have read in the newsgroups, there is no way to Constrain the Found set if the Found set comes from a Go to related records (this would be a good option, if it worked). |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Dear HH, I sort of found a viable solution, using your idea adjusted to my date search requirements. I have tested it with pretty complex searches and it seems to be working OK, very fast. snip |
)![]() |
| Thread Tools | |
| Display Modes | |
| |