Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2007

Tip: Looking for answers? Try searching our database.

place subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harry - 02 Jul 2007 16:42 GMT
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
OldPro - 02 Jul 2007 17:52 GMT
> 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).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.