![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Howdy, I have a form that is used for a particular search process. It works fine, but with an odd delay. Here's how it is used: We enter on another form the criteria for a search of our database. Those might be "Jones" (in the lastNameField) and 54321 (in the zipCodeField.) Next, the form in question (called SEARCH.FDL) opens displaying all the records that meet the criteria. The user scrolls down to the person whose record they wish to view, touches enter, and another form (called PEOPLE.FDL) then searches for, and displays that individual's record. And this is the odd behavior: Almost without exception, when the user touches Enter, the PEOPLE form is already open, and is visible beneath the SEARCH form (but pointing to another record.) Then, in about two seconds, the PEOPLE form moves to the chosen record, but the SEARCH form remains open for another five seconds or so. Why might the SEARCH form take so long to close itself? (Or might there be a way to see the PEOPLE form more quickly while the SEARCH form takes whatever time it needs to close?) Here's the code on the SEARCH form that finds the proper record: method keyPhysical(var eventInfo KeyEvent) var People form EndVar if eventInfo.vCharCode()=VK_Return then disableDefault setMouseshape(mouseWait) If people.attach("PeopleKS") then People.num.Locate("num",num) People.moveto() else People.Open("PeopleKS",winStyleDefault+winStyleHid den) People.num.Locate("num",num) People.bringToTop() endif self.close() endIf endMethod Thanks for any suggestions, |
#2
| |||
| |||
|
|
Howdy, I have a form that is used for a particular search process. It works fine, but with an odd delay. Here's how it is used: We enter on another form the criteria for a search of our database. Those might be "Jones" (in the lastNameField) and 54321 (in the zipCodeField.) Next, the form in question (called SEARCH.FDL) opens displaying all the records that meet the criteria. The user scrolls down to the person whose record they wish to view, touches enter, and another form (called PEOPLE.FDL) then searches for, and displays that individual's record. And this is the odd behavior: Almost without exception, when the user touches Enter, the PEOPLE form is already open, and is visible beneath the SEARCH form (but pointing to another record.) Then, in about two seconds, the PEOPLE form moves to the chosen record, but the SEARCH form remains open for another five seconds or so. Why might the SEARCH form take so long to close itself? (Or might there be a way to see the PEOPLE form more quickly while the SEARCH form takes whatever time it needs to close?) Here's the code on the SEARCH form that finds the proper record: method keyPhysical(var eventInfo KeyEvent) var People form EndVar if eventInfo.vCharCode()=VK_Return then disableDefault setMouseshape(mouseWait) If people.attach("PeopleKS") then People.num.Locate("num",num) People.moveto() else People.Open("PeopleKS",winStyleDefault+winStyleHid den) People.num.Locate("num",num) People.bringToTop() endif self.close() endIf endMethod Thanks for any suggestions, |
#3
| |||
| |||
|
|
Howdy, I have a form that is used for a particular search process. It works fine, but with an odd delay. Here's how it is used: We enter on another form the criteria for a search of our database. Those might be "Jones" (in the lastNameField) and 54321 (in the zipCodeField.) Next, the form in question (called SEARCH.FDL) opens displaying all the records that meet the criteria. The user scrolls down to the person whose record they wish to view, touches enter, and another form (called PEOPLE.FDL) then searches for, and displays that individual's record. And this is the odd behavior: Almost without exception, when the user touches Enter, the PEOPLE form is already open, and is visible beneath the SEARCH form (but pointing to another record.) Then, in about two seconds, the PEOPLE form moves to the chosen record, but the SEARCH form remains open for another five seconds or so. Why might the SEARCH form take so long to close itself? (Or might there be a way to see the PEOPLE form more quickly while the SEARCH form takes whatever time it needs to close?) Here's the code on the SEARCH form that finds the proper record: method keyPhysical(var eventInfo KeyEvent) var People form EndVar if eventInfo.vCharCode()=VK_Return then disableDefault setMouseshape(mouseWait) If people.attach("PeopleKS") then People.num.Locate("num",num) People.moveto() else People.Open("PeopleKS",winStyleDefault+winStyleHid den) People.num.Locate("num",num) People.bringToTop() endif self.close() endIf endMethod Thanks for any suggestions, |
#4
| |||
| |||
|
|
Howdy, I have a form that is used for a particular search process. It works fine, but with an odd delay. Here's how it is used: We enter on another form the criteria for a search of our database. Those might be "Jones" (in the lastNameField) and 54321 (in the zipCodeField.) Next, the form in question (called SEARCH.FDL) opens displaying all the records that meet the criteria. The user scrolls down to the person whose record they wish to view, touches enter, and another form (called PEOPLE.FDL) then searches for, and displays that individual's record. And this is the odd behavior: Almost without exception, when the user touches Enter, the PEOPLE form is already open, and is visible beneath the SEARCH form (but pointing to another record.) Then, in about two seconds, the PEOPLE form moves to the chosen record, but the SEARCH form remains open for another five seconds or so. Why might the SEARCH form take so long to close itself? (Or might there be a way to see the PEOPLE form more quickly while the SEARCH form takes whatever time it needs to close?) Here's the code on the SEARCH form that finds the proper record: method keyPhysical(var eventInfo KeyEvent) var People form EndVar if eventInfo.vCharCode()=VK_Return then disableDefault setMouseshape(mouseWait) If people.attach("PeopleKS") then People.num.Locate("num",num) People.moveto() else People.Open("PeopleKS",winStyleDefault+winStyleHid den) People.num.Locate("num",num) People.bringToTop() endif self.close() endIf endMethod Thanks for any suggestions, |
#5
| |||
| |||
|
|
Howdy, I have a form that is used for a particular search process. It works fine, but with an odd delay. Here's how it is used: We enter on another form the criteria for a search of our database. Those might be "Jones" (in the lastNameField) and 54321 (in the zipCodeField.) Next, the form in question (called SEARCH.FDL) opens displaying all the records that meet the criteria. The user scrolls down to the person whose record they wish to view, touches enter, and another form (called PEOPLE.FDL) then searches for, and displays that individual's record. And this is the odd behavior: Almost without exception, when the user touches Enter, the PEOPLE form is already open, and is visible beneath the SEARCH form (but pointing to another record.) Then, in about two seconds, the PEOPLE form moves to the chosen record, but the SEARCH form remains open for another five seconds or so. Why might the SEARCH form take so long to close itself? (Or might there be a way to see the PEOPLE form more quickly while the SEARCH form takes whatever time it needs to close?) Here's the code on the SEARCH form that finds the proper record: method keyPhysical(var eventInfo KeyEvent) var People form EndVar if eventInfo.vCharCode()=VK_Return then disableDefault setMouseshape(mouseWait) If people.attach("PeopleKS") then People.num.Locate("num",num) People.moveto() else People.Open("PeopleKS",winStyleDefault+winStyleHid den) People.num.Locate("num",num) People.bringToTop() endif self.close() endIf endMethod Thanks for any suggestions, |
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |