Editing Report Fields Positions from code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cranfan

    #1

    Editing Report Fields Positions from code

    I have a report that has fields more than 10 like comp_id comp_name
    comp_software etc.
    I want runtime users to edit this report according to their needs.Here
    is default report but maybe user wants to change the reports design.

    Comp_id | Comp_Name | Comp_Software (this is the default one)

    Comp_Software | Comp_id | Comp_Name | (this is what a user wants
    maybe)


    I will make a form interface,it will include fields and i want to get
    coordinates on the report for the positions of fields and in that way i
    can change the positions of the fields in report from code.
    For example user clicks yes/no for a field like comp_software then
    enters x and y axis like (10cm,20cm) then when opening report i want to
    apply this position , is it possible in any way,am i clear enough?

    Please help me.

  • BillCo

    #2
    Re: Editing Report Fields Positions from code


    use the onformat event of the details section of the report to
    dynamically assign .left value to item.
    units are not same as used in properties dialog, so you will have to
    experement a bit to find the best values

    On Jan 15, 11:06 am, "cranfan" <erdemto...@gma il.comwrote:
    I have a report that has fields more than 10 like comp_id comp_name
    comp_software etc.
    I want runtime users to edit this report according to their needs.Here
    is default report but maybe user wants to change the reports design.
    >
    Comp_id | Comp_Name | Comp_Software (this is the default one)
    >
    Comp_Software | Comp_id | Comp_Name | (this is what a user wants
    maybe)
    >
    I will make a form interface,it will include fields and i want to get
    coordinates on the report for the positions of fields and in that way i
    can change the positions of the fields in report from code.
    For example user clicks yes/no for a field like comp_software then
    enters x and y axis like (10cm,20cm) then when opening report i want to
    apply this position , is it possible in any way,am i clear enough?
    >
    Please help me.

    Comment

    • cranfan

      #3
      Re: Editing Report Fields Positions from code

      Thanks for the info,i'll give a try
      BillCo yazdi:
      use the onformat event of the details section of the report to
      dynamically assign .left value to item.
      units are not same as used in properties dialog, so you will have to
      experement a bit to find the best values
      >
      On Jan 15, 11:06 am, "cranfan" <erdemto...@gma il.comwrote:
      I have a report that has fields more than 10 like comp_id comp_name
      comp_software etc.
      I want runtime users to edit this report according to their needs.Here
      is default report but maybe user wants to change the reports design.

      Comp_id | Comp_Name | Comp_Software (this is the default one)

      Comp_Software | Comp_id | Comp_Name | (this is what a user wants
      maybe)

      I will make a form interface,it will include fields and i want to get
      coordinates on the report for the positions of fields and in that way i
      can change the positions of the fields in report from code.
      For example user clicks yes/no for a field like comp_software then
      enters x and y axis like (10cm,20cm) then when opening report i want to
      apply this position , is it possible in any way,am i clear enough?

      Please help me.

      Comment

      Working...