W
Wyo_Developer
Trying to Upgrade to Access 2007 from Access 2000 and my subforms will not
display. Have Checked the Subforms Property Sheet and it is showing the
correct fields for Link Master Fields and Link Child Fields. The main form
displays the Payment DocumentID info, and the subform should display, in FORM
view, not datasheet view, the details for each payment line. I have Access
2000 on one PC and Access 2007 on a second PC and am comparing, properties
and not finding any changes. This occurred the first time I opened the .mdb
in Access 2007. I tried saving as an Access 2007 object, but same results.
BTW, I did not receive the message to "Enable Content" and the Main "menu
bar" does not indicate that this is compatibility mode after opening Access
2000 application. The Access 2000 applications are a front-end with the
tables in SQL Server 2005 back end. Anyone have any ideas?
More info:
In the “converted Access 2007 version, I made a copy of the main form with
the sub-form, then deleted the subform CONTROL, then “dragged†the subform
from the Navigation Bar to the Main Form. Main Form is named P1B, sub-form
P1BL. I then updated the Master & Child Link fields, saved the form and
tried to open the form again. I received the following:
Microsoft Visual Basic message
Voucher Processing(my Access application) can’t find the field ‘P1BL’
referred to in your expression.
Pointing to the following code, second line:
Private Sub DocAmount_Enter()
If Forms![P1B]![P1BL].Form![cmdSaveLine].Enabled = True Then ' ***(this line)
MsgBox "Plase save changes or delete this line."
DoCmd.GoToControl "P1BL"
Exit Sub
End If
Call CheckDocumentOnDocAmtEnter("P1B")
End Sub
I'm stumped! Thanks for any ideas.
display. Have Checked the Subforms Property Sheet and it is showing the
correct fields for Link Master Fields and Link Child Fields. The main form
displays the Payment DocumentID info, and the subform should display, in FORM
view, not datasheet view, the details for each payment line. I have Access
2000 on one PC and Access 2007 on a second PC and am comparing, properties
and not finding any changes. This occurred the first time I opened the .mdb
in Access 2007. I tried saving as an Access 2007 object, but same results.
BTW, I did not receive the message to "Enable Content" and the Main "menu
bar" does not indicate that this is compatibility mode after opening Access
2000 application. The Access 2000 applications are a front-end with the
tables in SQL Server 2005 back end. Anyone have any ideas?
More info:
In the “converted Access 2007 version, I made a copy of the main form with
the sub-form, then deleted the subform CONTROL, then “dragged†the subform
from the Navigation Bar to the Main Form. Main Form is named P1B, sub-form
P1BL. I then updated the Master & Child Link fields, saved the form and
tried to open the form again. I received the following:
Microsoft Visual Basic message
Voucher Processing(my Access application) can’t find the field ‘P1BL’
referred to in your expression.
Pointing to the following code, second line:
Private Sub DocAmount_Enter()
If Forms![P1B]![P1BL].Form![cmdSaveLine].Enabled = True Then ' ***(this line)
MsgBox "Plase save changes or delete this line."
DoCmd.GoToControl "P1BL"
Exit Sub
End If
Call CheckDocumentOnDocAmtEnter("P1B")
End Sub
I'm stumped! Thanks for any ideas.