> Me.[form subform].top =Me.[form subform].top - 0
>
[quoted text clipped - 6 lines]
>
> Harry
What are you trying to do? And is your subform really called "form
subform"? What is the value of .top before this code is called?
Harry - 05 Jul 2007 17:00 GMT
> > Me.[form subform].top =Me.[form subform].top - 0
> >
[quoted text clipped - 9 lines]
> What are you trying to do? And is your subform really called "form
> subform"? What is the value of .top before this code is called?
The 0 is in my program a variable and ofcourse "form subform" is just a
example
Harry
Harry - 05 Jul 2007 17:12 GMT
> > Me.[form subform].top =Me.[form subform].top - 0
> >
[quoted text clipped - 9 lines]
> What are you trying to do? And is your subform really called "form
> subform"? What is the value of .top before this code is called?
.top=11165 but even wen i want to store the same value in it
I get a run-time error 2100
Harry
OldPro - 06 Jul 2007 14:22 GMT
> > > Me.[form subform].top =Me.[form subform].top - 0
>
[quoted text clipped - 15 lines]
>
> - Show quoted text -
It worked fine for me. This message means that the form is off of the
screen, either with the top having a negative number, or the height
being too tall for the screen, etc. I'm not sure how 0 can be a
variable. What is the actual name and type? Is it a single or
double? Singles and doubles often cause unexpected issues. What is
your screen size? What is your subform control size? (Height and
width) A top of 11165 seems excessive. I would need a much bigger
screen to fit a control that far down (unless it is tiny).