Although it has happened a few times, I have not been able to correlate the 
reason.  This last time I had been adding blocks of code (sub by sub or 
function by function) from an old eVB app.  Only after adding the last 3 did I 
notice this ChkLocalItem not working.  By the time I restarted NSB, the last 
two routines in the script had been removed .. the ChkLocalItem and an 
Output_Close I added in earlier to close some global objects.

The time before that, I had been modifying some of the generated code(matching 
fonts and colors), closed the app for the day, starting up the next day finding 
most of the code I added in the previous day missing as well as all the forms 
not showing up at all on the Forms tree in the Project Explorer pane.

If it does happen again I will keep watch to see if it is reproducable
:-S

Thx

-B


--- In [email protected], George Henne <gh@...> wrote:
>
> We don't have any cases of this happening in our database. Can you reproduce 
> this?
> 
> Sent from my iPad
> 
> On 2011-07-06, at 11:07 PM, Brian Burgess <bburgess@...> wrote:
> 
> > 
> > 
> > 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.

Reply via email to