Error on Report Layout Creation not possible to edit in VS

sharadsharad Member Posts: 112
edited 2012-05-15 in NAV Three Tier
Hi Experts,

I have Created a Report in Classic in which i have used a char field to show check mark.It is running SuccessFully
in Classic. But When I try to make it for RTC using Create Layout Suggesion it shows error "It is not Possible to edit the Layout with Visual Studio.Detailed Description: Char". and doesn't create layout in Visual Studio.

Please Help to solve or give a way to show check mark in RDLC Report.


THANKS IN ADVANCE. ](*,)
Sharad Gupta
Navision Technical Consultant & .Net Developer

Answers

  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    edited 2012-05-14
    Not sure that it will work but you could try to use the ASCII code of Square Root:
    Value Property of the fields where you want to put a check mark
    =Chr(Square Root Id)
    
    ~Rik~
    It works as expected... More or Less...
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Obviously another idea could be to use an image, but it will make the report heavy if you should print check mark many times.
    ~Rik~
    It works as expected... More or Less...
  • mihail_kolevmihail_kolev Member Posts: 379
    what is the DataSetFieldName for this field? Usually it is auto-generated and might be invalid if it contain only the character.
    -Mihail- [MCTS]
  • sharadsharad Member Posts: 112
    what is the DataSetFieldName for this field? Usually it is auto-generated and might be invalid if it contain only the character.

    DataSetFieldName is not generated bcoz of this error.
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • sharadsharad Member Posts: 112
    I didn't found any solution yet.

    How to use image to apply check.? or any Other Solution?

    Plz Suggest
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • mihail_kolevmihail_kolev Member Posts: 379
    sharad wrote:
    what is the DataSetFieldName for this field? Usually it is auto-generated and might be invalid if it contain only the character.

    DataSetFieldName is not generated bcoz of this error.

    then type it manually
    -Mihail- [MCTS]
  • sharadsharad Member Posts: 112
    sharad wrote:
    what is the DataSetFieldName for this field? Usually it is auto-generated and might be invalid if it contain only the character.

    DataSetFieldName is not generated bcoz of this error.

    then type it manually

    Hi
    Same Problem after typing it manualy. After typing manualy when i apply Create Layout Suggestion the same error Shows.

    But when we apply Create Layout Suggestion at that time Datasetfieldname generate for all the fields.
    If i type it manualy the all other field's datasetfieldname property left blank. BTW what should i do to solve this?

    THANKS
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • mihail_kolevmihail_kolev Member Posts: 379
    I assume that the special character is inside a label. Try to temporary change the value of this label to something that will be valid for the visual studio (the letter "a" for ex.). Or try to use textbox with a variable for its source expression and inside your code evaluate this variable with this character you need.
    -Mihail- [MCTS]
  • sharadsharad Member Posts: 112
    I assume that the special character is inside a label. Try to temporary change the value of this label to something that will be valid for the visual studio (the letter "a" for ex.). Or try to use textbox with a variable for its source expression and inside your code evaluate this variable with this character you need.

    I am doing the same I define a variable xyz of char type and assign this to source Expression of a textbox with font "Wingdings"
    and assign char value conditionaly like

    IF "Posted Invoice Document Line".Boolean THEN
    xyz := 129
    ELSE
    xyz := 0;

    Now what can i do?
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • thegunzothegunzo Member Posts: 274
    I am doing the same I define a variable xyz of char type and assign this to source Expression of a textbox with font "Wingdings"
    and assign char value conditionaly like

    try to change the SourceExpr property from xyz to FORMAT(xyz)
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • sharadsharad Member Posts: 112
    thegunzo wrote:
    I am doing the same I define a variable xyz of char type and assign this to source Expression of a textbox with font "Wingdings"
    and assign char value conditionaly like

    try to change the SourceExpr property from xyz to FORMAT(xyz)

    Thanks

    It Works.
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • mihail_kolevmihail_kolev Member Posts: 379

    Thanks

    It Works.


    edit your first post and choose [Solved] attribute :)
    -Mihail- [MCTS]
Sign In or Register to comment.