Announcement

Collapse
No announcement yet.

Global Variable missing!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Global Variable missing!

    Good Morning,
    I have an application in which have following structure:
    Main Menu
    --Projects
    ----First Project
    ------Divisions
    --------First Division
    ----------Assets
    ----------Libilities
    --------Second Division
    ----Second Project
    ------Divisions
    --------Third Division
    ----------Assets
    ----------Libilities
    --------Fourth Division
    --Reports
    --Settings

    While each item has links to open forms and their sub forms. Some time I gets error that global variable not found, but when refresh it goes away. Why this kind of error comes; the main part of this is when I goes to show project to my boss it comes and while testing it don't. Please help me.

  • #2
    This error useually occurs when you have introduced a global variable in an app (output) and you are using an app with this global variable set as input without having called the introducting application. Personally I don't like the system of introducting globals just where you need them, I like to declare them as soon as possible at one spot only, i.e. the logon form. Then you can be sure that the global variable is always available. But you still need to feed them with the correct data of course. But your error is caused by the fact that your page is called outside the expected flow.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X