Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Legacy Development
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Legacy Development | New ThreadView:  Search:  
 Author  Thread: Not Responding Program
Ian Fitzpatrick
Posts: 146
 
Not Responding ProgramYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jul 06 12:19 PM
fiogf49gjkf0d
I have a program that I wrote in v5.2 legacy basic scripts with a Manage view.

My problem is that the program is updating large record sets and therefore if the user minimizes the manage view and then goes back to it, Task Manager says that it's not responding. If I wait the program will finish and do what it is supposed to do, but I'm wondering if anyone has ever fixed a problem similar to this.

Thank you.
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Not Responding ProgramYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jul 06 12:29 PM
fiogf49gjkf0d
If you are looping through a record set you could add a counter to your view then use the ProcessWindowMessages function to update the screen.
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: Not Responding ProgramYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jul 06 12:49 PM
fiogf49gjkf0d
Thanks Frank, that is just what I was looking for!
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Not Responding ProgramYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jul 06 1:03 PM
fiogf49gjkf0d
I usually update the screen every 100 rows. It goes something like this...

const LOG_STATS=100
dim InputCounter as integer

While Not EOF
InputCount = InputCount+1
If InputCount Mod LOG_STATS = 0 Then
txtCounter.text = CStr(InputCounter)
ProcessWindowMessages
End If
.
.
wend
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 6:36:39 AM