place subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Me.[form subform].top =Me.[form subform].top - 0

run-time error 2100
the control or subform control is too large for tis location

Can anybody give me an idea of wat is going wrong?

Thanks,

Harry
 
Me.[form subform].top =Me.[form subform].top - 0

run-time error 2100
the control or subform control is too large for tis location

Can anybody give me an idea of wat is going wrong?

Thanks,

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?
 
OldPro said:
Me.[form subform].top =Me.[form subform].top - 0

run-time error 2100
the control or subform control is too large for tis location

Can anybody give me an idea of wat is going wrong?

Thanks,

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?
The 0 is in my program a variable and ofcourse "form subform" is just a
example
Harry
 
OldPro said:
Me.[form subform].top =Me.[form subform].top - 0

run-time error 2100
the control or subform control is too large for tis location

Can anybody give me an idea of wat is going wrong?

Thanks,

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?
..top=11165 but even wen i want to store the same value in it
I get a run-time error 2100
Harry
 
OldPro said:
Me.[form subform].top =Me.[form subform].top - 0
run-time error 2100
the control or subform control is too large for tis location
Can anybody give me an idea of wat is going wrong?
Thanks,
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?

.top=11165 but even wen i want to store the same value in it
I get a run-time error 2100
Harry- Hide quoted text -

- 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).
 
Back
Top