It's more like:
Sub btnGetItems_Click
GetItemDetails(AssembleList)
End Sub
But I did find the problem .. the NSB app on the desktop had corrupted the .nsb
file (but did not realize it). So the the script reader on the device did not
even find 'ChkLocalItem' in the script :-(
By the time I figured something weird was going on NSB had crashed .. when I
restarted I found that 3 (two other subs, the ChkLocalItem function) routines
were missing.
I have NSB 8.2.0a running here on Windows 7 and this is the third time such a
corruption has occurred.
Anyone know if this has been addressed?
Thx much
-Brian
On Jul 7, 2011, at 4:23 AM, Thomas Gruber wrote:
> Hi Brian,
>
> if I understand your description correctly, the call structure looks like
> this (you left out the parameters, but they're essential!):
>
> Sub GetItemDetails(byVal strList)
> ...
> x = AssembleList()
> ...
> end sub
>
> Function AssembleList()
> ...
> If ChkLocalItem(strItem) = "False" then
> ...
> end if
> end function
>
> Function ChkLocalItem(ByVal strItem)
> ...
> end function
>
> correct so far? So the question is, where is "strItem" defined inside the
> function AssembleList ? Does it have a value?
> Kind regards
> Thomas
>
> Am 06.07.2011 um 16:23PM schrieb bburgess66:
>
>>
>> I a calling a FUNCTION called 'ChkLocalItem(ByVal strItem)', like:
>> If ChkLocalItem(strItem) = "False" Then
>> ..
>> End If
>>
>> Inside of another FUNCTION called 'AssembleList()', which is in turn itself
>> called by a SUB called 'GetItemDetails(ByVal strList)'.
>>
>> Got it so far?
>> GetItemDetails
>> AssembleList
>> ChkLocalItem
>>
>> The call to 'ChkLocalItem' always fails with:
>> "Type Mismatch: '[Undefined]'"
>>
>> Thx much in advance for any advice
>>
>> -Brian
>>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nsb-ce?hl=en.