Do not use on any
shared computer
August 30, 2008 04:44am pdt
 
[x]
Attachment Details

Problem with Displaying Data / Re-Load Forms Problem

Tags: Microsoft, Access, 2000, Re-Load Forms Problem
I have 2 forms:
1) "Main Menu" - left side (on the attached menu)
2) "Financial form" - right side (on the attached menu)  -- I cut some classified info which containes Loan #, and Property Address

Recently I converted this database from Access 97 to Access 2000.

I have following problem: For example "Financial form" displaying data for the Loan # 111111.  Form already opened.  When I'm trying to use "Main" button on the right of the form or Individual Loan from "Main Menu" form to go to the Loan # 111112, form "Financial form" does not show data for new loan # 111112, this form will only refreshes data for the Loan # 111111.

I will attach code so you can see what happened if the form was opened
cmdIndLoan_Click() -- is the code for "Individual Loan" Button on Main Menu form (on the left)

Private Sub Form_Open--- is the code to open the form, if it closed

I believe I need some code for reload event: If form is already open and I need to go to the new Loan, form should display data for the new loan number "111112" instead of current loan number "111111"

Please let me know if you need additional explanation

I was trying to put this code for the Load Event for financial form, however this did not work. (can't recognize this function SS_OnLoad Me
Private Sub Form_Load(Cancel As Integer)
SS_OnLoad Me
DoCmd.GoToControl "Loan-No"
End Sub


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
Private Sub cmdIndLoan_Click()
On Error GoTo Err_cmdIndLoan_Click
 
    Dim stDocName As String
    Dim stLinkCriteria As String
 
    stDocName = "Financial form"
    stLinkCriteria = "[ACCTNO] = [Enter Loan No]"
    Caption = "INDIVIDUAL LOAN MODE"
    DoCmd.OpenForm stDocName, , , stLinkCriteria
    
Exit_cmdIndLoan_Click:
    Exit Sub
 
Err_cmdIndLoan_Click:
    MsgBox Err.Description
    Resume Exit_cmdIndLoan_Click
    
End Sub
 
Private Sub Form_Open(Cancel As Integer)
        SS_OnOpen Me
DoCmd.GoToControl "Loan-No"
End Sub
Attachments:
 
forms screenshot
forms screenshot
 
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: maximyshka
Question Asked On: 06.25.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by maximyshka
Author Comment by maximyshka:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by capricorn1

Rank: Genius

Expert Comment by capricorn1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628