05-20-2008 04:44 AM
05-20-2008 05:11 AM
An array element looks disabled if it does not exist in the array. You need to wire an array with a single element into a local variable of that control.
If you want to do this without code, you can right click the element and select Data Operations>>Delete Element.
05-20-2008 06:04 AM
If you want to do this without code, you can right click the element and select Data Operations>>Delete Element.
Let's assume if there are some 1000 elements in the array and if last 50 values are wrongly entered, then is there any quick way to clear (make it as zero) or delete all the 50 elements.Thanks,Mathan
05-20-2008 06:08 AM
05-20-2008 06:17 AM - edited 05-20-2008 06:20 AM
Great....
It works well. Thanks,,,,
Mathan
[Edited: Delete from Array is better than Array subset since array subset will give only the unwanted deleted portion of the array and didn't return the required cut-off array.]
05-20-2008 06:39 AM - edited 05-20-2008 06:39 AM
mathan wrote:
...
from Array is better than Array subset since array subset will give only the unwanted deleted portion of the array and didn't return the required cut-off array.]
05-20-2008 07:04 AM
05-20-2008 07:19 AM - edited 05-20-2008 07:22 AM
mathan wrote:
Let's assume if there are some 1000 elements in the array and if last 50 values are wrongly entered, then is there any quick way to clear (make it as zero) or delete all the 50 elements.
05-20-2008 07:29 AM - edited 05-20-2008 07:32 AM
That's really good link Joe. Learnt lot of informations from it. Thanks a lot.
Mathan
05-20-2008 07:33 AM
The example from paulmw is quite efficient.
You can easily convert the code to handle numerics instead of strings. However, in that example he wanted to get rid of blanks, whereas in your case it would have to be a specific value.. But you can customize any of the suggestions to meet your needs. Actually a good way to learn is to experiment with all sugegstions. 😉