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 / February 2008

Tip: Looking for answers? Try searching our database.

error when displayed as subform, but not when displayed as standal

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Xero - 18 Feb 2008 23:11 GMT
hello,

i have a field on a form which calculates and displays the number of records
(using the 'count' expression).

when I open the form as a standalone form, the field displays correctly; but
when I open the form as a subform of another form, it says #error.

what would cause such a problem?

thanks.

Jeff
John W. Vinson - 19 Feb 2008 00:20 GMT
>hello,
>
[quoted text clipped - 5 lines]
>
>what would cause such a problem?

An error in the calculation expression... which I cannot see from here. Care
to post it so someone could help?
Signature

            John W. Vinson [MVP]

Bob Quintal - 19 Feb 2008 22:56 GMT
> hello,
>
[quoted text clipped - 10 lines]
>
> Jeff
You have some reference to the form's name in the code.
When you open a form in a subform control on another form, it loses
it's name and becomes known as
Forms![MainForm]![subformcontrolName].Form![formname]

Signature

Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

 
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.