Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 'illegal operation' error
Message
 
To
16/11/1999 19:31:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00291175
Message ID:
00292184
Views:
29
Let's see!
Your using the VFP6 timer control.

1) You have it set to read and write to DBFs at 1 minute intervals.
That is 60,000 timer ticks. 1 second is 1000 timer ticks. So assure that your process interval is triggered every 60,000 ticks.

2) When the process is triggered, you may want to reset the timer (turn it off), until the process finishes. When the process completes, you could turn it on.

So make sure 1 minute = 60,000 and look at possibly using a timer 'reset' when your process is triggered, and let us know how it worked out.

Terry



>Hi,
>
>I can't open the 03 dbf files in shared mode as I may need to delete
>all the records inside them.
>My application seem to causes memory leakage, crashing itself out.
>Please advise.
>
>
>>>Hi,
>>>
>>>Thank for the advise.
>>>However,my application just do the following below
>>>
>>>01) open 03 permanent dbf file in exclusive mode
>>>02) read 01 permanent dbf file and update the records into the above 01 dbf file
>>>03) read & update all records every 01 minute.
>>
>>Maybe the interval sessions appear like 'share' users. Have you tried opening 03 as a shared file?
>>Terry
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform