Properties

BokkBokk Member Posts: 138
edited 2003-07-16 in Navision Attain
I am creating some reports and have had some problems with properties. I have created a report and am trying to have one section of details appear in a table (grid lines). I have set the Border properties on the labels and textboxes as follows - Border=yes; BorderColor=0 (black); BorderStyle=Normal; BorderWidth=1pt. It does not show the lines for the table in preview or printed form. Is there something else I need to set to make the lines visible?

I also created an export and import which I want to run one after another without showing the Request form. I set the UseReqForm=No property on each dataport. This worked when it was run from the Object Designer, but not when it was run from the menu. I did eventually find the additional parameter for the r.RUN command, but it seemed odd that setting the property didn't work.

One last thing. When printing a report, I want to default the Order No. on the Request form. This also was acheived using the RUN parameters (ie. REPORT.RUNMODAL(51003,TRUE,FALSE,Rec) which displays all the filtered values from the record passed. Is it possible to limit the fields defaulted to only the Order No.?

Thanks!!
SGM

Comments

  • eromeineromein Member Posts: 589
    1. Use a shape element for this.
    2. Indeed, should work. What version are you using?
    3. Sure...
    SalesHeader := rec;
    SalesHeader.SETRECFILTER;
    REPORT.RUNMODAL(FORM::FORM51003,True,False,SalesHeader);
    
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • BokkBokk Member Posts: 138
    Thanks for your help. I used the shape elements and that worked, but I don't know why the border properties don't work. I was able to not display the request form, but only with the code, not the property. (We are using version 3.6). Thanks again for the last hint. That was exactly what I wanted to do.

    Cheers!
    SGM
  • GoMaDGoMaD Member Posts: 313
    As far as I know, the border property has never worked on reports.

    And I'm working with Navision since 1.10 came out, so ...

    Greetings
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
  • eromeineromein Member Posts: 589
    the request form is shown because you defined ReqFilterFields.

    I Think.
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • GoMaDGoMaD Member Posts: 313
    I maybe wrong about this but if you look at it from the User Interface side it is quite normal because when you start a dataport from the menu it only activate's the dataport and it still requires a manual 'OK' from the user to run this.

    ...

    ?
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
Sign In or Register to comment.