Form- Strange behaviour

jlsabio
jlsabio Member Posts: 38
Hi,

I have 14 navision native db with the same objects. I have a problem with a form on one of the databases. This form is a numeric pad used for enter the cashier who is introducing the order.

When a lot of orders are introduced this form have a strange behaviour and its back becomes transparent while buttoms stay visibles. You can see others forms in the backside throw it.

The form is always called with form.runmodal, i try to create a form variable for this form for do Clear(var) after and before of call with runmodal, but i have no success.

Help please. Sorry for my english.

I can send screenshot of the error.

Thanks.

Comments

  • Saint-Sage
    Saint-Sage Member Posts: 92
    Your problem could be from a few sources, not just the form design.

    When you say you have 14 databases and only one has the problem, do the other databases have the same form with the same functionality?
    Are they all for the same company, or different companies? Is there only one client running on the problem database?

    If so then your problem might be in the client system. What version of OS are they running? What version of Navision Client?

    Alot of older hardware and drivers have problems keeping track of painting client window spaces in an MDI environment.

    You said it is happening when "alot of orders are introduced", does this mean when some process is being run? You could be using up memory and CPU at critical levels, and the OS is not able update the client area until after the process stops, which is normal in older machines with limited resources.

    Is it a temporary occurance? I.E. if you minimize the form and then bring it back up while no processes are running does it repaint correctly?

    Just some ideas to think about, if you can answer these questions we may be able to help further.

    No one loves you like the one who created you...
  • kine
    kine Member Posts: 12,562
    Older versions of NAV had resource memory leak when the focus rectangle was displayed too many times. Each move of the focus rectangle (the dotted rectangle around label on button) allocated some resource memory but never released it. Try to disable the "Focusable" property on all buttons or use newest client version (4.00 SP3 now). But this is just a hint... :-k
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • jlsabio
    jlsabio Member Posts: 38
    Saint-Sage wrote:
    Your problem could be from a few sources, not just the form design.

    When you say you have 14 databases and only one has the problem, do the other databases have the same form with the same functionality? Are they all for the same company, or different companies?
    ->Yes, the other databases have the same form with the same functionality. The others databases have the same objects. I work for a Group of Companys and each database belongs to a company of the group.

    Is there only one client running on the problem database?
    The problem can happen with one or more clients running the database and when a client has the problem the other can run right without problem.

    If so then your problem might be in the client system. What version of OS are they running? What version of Navision Client?

    I was testing with different machines clients and i have not success. the machines are W2000 and the version of Navision is 3.70. I try to install 3.70 b servers and clients but i had not success.

    Alot of older hardware and drivers have problems keeping track of painting client window spaces in an MDI environment.

    May be but in the others company there are the same clients machine and they dont have the problem

    You said it is happening when "alot of orders are introduced", does this mean when some process is being run? You could be using up memory and CPU at critical levels, and the OS is not able update the client area until after the process stops, which is normal in older machines with limited resources.

    The problem doesnt happen when is running a process. it happens when a lot of orders have been entered (but not posted). Each time you want to enter a order this form is called. If you enter a lot of orders, the form is called many times, and then the error happens.


    Is it a temporary occurance? I.E. if you minimize the form and then bring it back up while no processes are running does it repaint correctly?

    The form is not able to be minimized.

    Just some ideas to think about, if you can answer these questions we may be able to help further.


    Thanks for ur comment :)
  • kine
    kine Member Posts: 12,562
    And is this form using some sort of Automation or OCX? For example barcode scanner etc...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • jlsabio
    jlsabio Member Posts: 38
    kine wrote:
    And is this form using some sort of Automation or OCX? For example barcode scanner etc...


    This form is used for enter the cashier in the order. The cashier must pass his card on the card reader, but the form have not any ocx or automation, the card reader work by hardware.

    Thanks for your comment.