Options

unstable process and Modify Table

ppigletppiglet Member Posts: 35
hi

once i developed a report and when i run it, it comes out smoothly and all the result were good. but when my colleage run it from other client the report were blank in some part. the header part were ok but the detail were blank.
he tried to re-run the reprot.. and all are ok.
in some other time .. i run the report and it was ok. when my other colleague run it, some page were blanks. when he runs it again, all pages were ok.
now, i make another report where i can find all the result is ok. but my colleage got different result in his report.

well...
all those example were really weird right? confusing me also. anyone has idea what was happening?
i dont know how to fix the report because the system seems unstable. how to make it stable. you know, end user would not like it at all ..

one more question.
if i try to update a custom table with command "Modify", but why it does not update the table?

say it :
B_Result := Temp_Table.Modify;

i message out the result variable B_Result and the result was TRUE.
now, why it did not update the TEmp_Table?

thanks

Comments

  • ArhontisArhontis Member Posts: 667
    Hi,

    1) All I can think is about the default printer the other user has on his computer. Maybe it has special page settings that doesn't fit your page...

    2) if it is a temporary table it doesn't results to alot if you modify it. It doesn't go to the database. You must find the correct record in a real rec variable and make the modification there to be saved into the db. If you intent to modify the temporary record and use it elsewhere then you must be certain that you are using that temp record and not the real data from the db.
  • ppigletppiglet Member Posts: 35
    Arhontis wrote:
    Hi,

    1) All I can think is about the default printer the other user has on his computer. Maybe it has special page settings that doesn't fit your page...

    2) if it is a temporary table it doesn't results to alot if you modify it. It doesn't go to the database. You must find the correct record in a real rec variable and make the modification there to be saved into the db. If you intent to modify the temporary record and use it elsewhere then you must be certain that you are using that temp record and not the real data from the db.

    hi,
    thanks for your response.

    1) the report were not sent to printer yet. it still in report preview, beside it requires standard page (A4-potrait) which is default setting of our printers

    2) it is not a temporary table. it is a physical - custom table.
  • SavatageSavatage Member Posts: 7,142
    You still need a printer setup to preview, Install the same printer & drivers on his computer as in yours and check the results.
  • kinekine Member Posts: 12,562
    When you are using preview, still the default printer is used to take the printer settings. For example, if you do not have permissions to print to your default printer, you will get error when trying to do preview.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.