View Single Post

  #4 (permalink)  
Old 06-25-2009
nickhoare nickhoare is offline
NickH
Yellow Belt
 
Join Date: Jun 2008
Location: Bromsgrove, UK
Posts: 21
Re: Move pins to dataset

Quote:
Originally Posted by Wilfried View Post
Hi,

No, it does not reference the dataset name, it reference the dataset itself. That is not the same.
But he IS referencing the Dataset. oDSNorth IS a dataset, not the dataset name.

This is a VB issue I have never quite got my head around. The problem is the brackets.
"oPin.MoveTo oDSNorth" or "Call oPin.MoveTo(oDSNorth)" work

"oPin.MoveTo (oDSNorth)" doesn't.

But I would have expected a 438 error? (Resume next on?)

Last edited by nickhoare; 06-25-2009 at 04:08 AM.. Reason: Correction
Reply With Quote