Peter Horsb�ll M�ller wrote: > > Is there a solution to how to deall with a row not having an object attached ??? > > Of course you can validate this by either only selecting records "where obj", or > you could use an alias variable to check whether these is an object at the current > row, but can you handle this problem in the "MyFunction" function ?
I think you can paas a null object to MyFunction() and you can test it with If Not objFeat Then 'the object variable is null End If but you CAN'T pass a null object back to be used in an UPDATE statement. The World will end if you try. So I'd make sure you only update records that already have valid objects. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11993
