Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question

Status
Not open for further replies.

Lhuffst

Programmer
Jun 23, 2003
503
US
I have a system (fe and be) on a shared drive. It works fine for 2 out of 3 people. the third person, when they try to make a change (bound form), will get a message that the form can't be found. If it was everyone, I would say it is how it was named in code but it's only one person. I don't even know where to begin.

Code:
Form names:
Navigation Subform
   frmPermitInfoUpdateParent      this has 1 control cboselectpermit

   [i]there are 2 subforms on this form:
[/i]   frmPermitInfoUpdate  
               has field depositAmt
                on lost focus:  ConspChrg = txtDepositAmt * 0.1    '10%
   frmMeterInfoUpdate
      No issues

Only on the depositamt field does the message "can't find frmPermitInfoUpdateParent
I thought if I named it directly, that would make a difference so I put in
[blue]Forms!FhNavigation!NavigationSubform.Form.frmMeterInfoUpdate.Form.conspChrg = Forms!FhNavigation!NavigationSubform.Form.frmMeterInfoUpdate.Form.txtDepositAmt * .1 [/blue]

Same outcome. Works for 2 out of 3 people but the one person still gets the error message.
Any ideas will be most appreciated.
 
If ConspChrg and txtDepositAmt memory variables then I would always prefix them with "Me."

Code:
Me.ConspChrg = Me.txtDepositAmt * 0.1    '10%

BTW: you might consider more descriptive titles on your questions. "question" is assumed.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top