Jump to content


Photo

Error: RLINK32: Unsupported 16bit resource


  • Please log in to reply
1 reply to this topic

#1 Marc

Marc

    Advanced Member

  • Moderadores
  • PipPipPip
  • 1484 posts
  • LocationMallorca

Posted 06 April 2016 - 01:46 PM

Hola amigos,

 

He recuperado un antiguo proyecto en el que debo hacer unas modificaciones, y para ello he vuelto a instalar Delphi 2010.

 

Cuando intento compilar me sale este error :

 

[DCC Error] E2161 Error: RLINK32: Unsupported 16bit resource in file "C:\Varis\Gestions\Comuns\Source\Base_Pr_Out_Factura.dfm"

 

¿ Se os ocurre cual puede ser el problema ?. En ese formulario no hay recursos, solo el típico:

 

implementation
{$R *.dfm}

 

Y en el DFM no veo nada extraño.

 


php
  1. inherited frmBase_Pr_Producto_ListaValorada: TfrmBase_Pr_Producto_ListaValorada
  2.   Caption = 'Lista de Productos'
  3.   ClientHeight = 474
  4.   ClientWidth = 772
  5.   OnCreate = FormCreate
  6.   ExplicitLeft = -315
  7.   ExplicitTop = -68
  8.   ExplicitWidth = 788
  9.   ExplicitHeight = 513
  10.   DesignSize = (
  11.     772
  12.     474)
  13.   PixelsPerInch = 96
  14.   TextHeight = 13
  15.   inherited barraBotons: TToolBar
  16.     Width = 772
  17.     ExplicitWidth = 772
  18.     object ToolButton2: TToolButton
  19.       Left = 285
  20.       Top = 0
  21.       Width = 8
  22.       Caption = 'ToolButton2'
  23.       ImageIndex = 10
  24.       Style = tbsSeparator
  25.     end
  26.     object btnDuplicar: TToolButton
  27.       Left = 293
  28.       Top = 0
  29.       Hint = 'Duplicar'
  30.       Caption = 'Duplicar'
  31.       ImageIndex = 25
  32.       ParentShowHint = False
  33.       ShowHint = True
  34.       OnClick = btnDuplicarClick
  35.     end
  36.   end
  37.   inherited lblNombreEmpresa: TcxLabel
  38.     Top = 3
  39.     ExplicitTop = 3
  40.     ExplicitWidth = 348
  41.     Width = 348
  42.     AnchorX = 566
  43.     AnchorY = 12
  44.   end
  45.   object panelInferior: TPanel [2]
  46.     Left = 0
  47.     Top = 325
  48.     Width = 772
  49.     Height = 149
  50.     Align = alBottom
  51.     BevelOuter = bvNone
  52.     TabOrder = 2
  53.     DesignSize = (
  54.       772
  55.       149)
  56.     object btnBuscar: TSpeedButton
  57.       Left = 637
  58.       Top = 0
  59.       Width = 26
  60.       Height = 25
  61.       Hint = 'Buscar Productos'
  62.       Anchors = [akTop, akRight]
  63.       OnClick = btnBuscarClick
  64.     end
  65.     object frameTotales: TcxGroupBox
  66.       Left = 572
  67.       Top = 19
  68.       Anchors = [akTop, akRight]
  69.       Caption = 'Totales'
  70.       TabOrder = 1
  71.       DesignSize = (
  72.         197
  73.         127)
  74.       Height = 127
  75.       Width = 197
  76.       object lblDto_Percentatge: TcxLabel
  77.         Left = 11
  78.         Top = 36
  79.         Caption = 'Descuento'
  80.         Transparent = True
  81.       end
  82.       object lblDto_Import: TcxLabel
  83.         Left = 11
  84.         Top = 58
  85.         Caption = 'Importe'
  86.         Transparent = True
  87.       end
  88.       object txtDto_Percentatge: TcxDBCurrencyEdit
  89.         Left = 93
  90.         Top = 35
  91.         DataBinding.DataField = 'ALB_DTO'
  92.         DataBinding.DataSource = dsDatos
  93.         Properties.DisplayFormat = ',0.00 %;-,0.00 %'
  94.         TabOrder = 0
  95.         Width = 45
  96.       end
  97.       object txtDto_Importe: TcxDBTextEdit
  98.         Left = 93
  99.         Top = 57
  100.         DataBinding.DataField = 'ALB_IMPORTE_DTO'
  101.         DataBinding.DataSource = dsDatos
  102.         Properties.ReadOnly = True
  103.         Style.Color = clInfoBk
  104.         TabOrder = 3
  105.         Width = 67
  106.       end
  107.       object lblTotal: TcxLabel
  108.         Left = 11
  109.         Top = 103
  110.         Caption = 'TOTAL'
  111.         ParentFont = False
  112.         Style.Font.Charset = DEFAULT_CHARSET
  113.         Style.Font.Color = clWindowText
  114.         Style.Font.Height = -11
  115.         Style.Font.Name = 'MS Sans Serif'
  116.         Style.Font.Style = [fsBold]
  117.         Style.IsFontAssigned = True
  118.         Transparent = True
  119.       end
  120.       object txtTotal: TcxDBTextEdit
  121.         Left = 93
  122.         Top = 102
  123.         DataBinding.DataField = 'ALB_IMPORTE_TOTAL'
  124.         DataBinding.DataSource = dsDatos
  125.         ParentFont = False
  126.         Properties.ReadOnly = True
  127.         Style.Color = clYellow
  128.         Style.Font.Charset = DEFAULT_CHARSET
  129.         Style.Font.Color = clWindowText
  130.         Style.Font.Height = -11
  131.         Style.Font.Name = 'MS Sans Serif'
  132.         Style.Font.Style = [fsBold]
  133.         Style.IsFontAssigned = True
  134.         TabOrder = 5
  135.         Width = 84
  136.       end
  137.       object lblBase: TcxLabel
  138.         Left = 11
  139.         Top = 80
  140.         Caption = 'Base Imponible'
  141.         Transparent = True
  142.       end
  143.       object txtBase: TcxDBTextEdit
  144.         Left = 93
  145.         Top = 79
  146.         DataBinding.DataField = 'ALB_IMPORTE_BASE'
  147.         DataBinding.DataSource = dsDatos
  148.         Properties.ReadOnly = True
  149.         Style.Color = clInfoBk
  150.         TabOrder = 7
  151.         Width = 67
  152.       end
  153.       object txtRetencion: TcxDBCurrencyEdit
  154.         Left = 93
  155.         Top = 13
  156.         Anchors = [akTop, akRight]
  157.         DataBinding.DataField = 'FAC_RETENCION'
  158.         DataBinding.DataSource = dsDatos
  159.         Properties.DisplayFormat = ',0.00 %;-,0.00 %'
  160.         TabOrder = 8
  161.         Visible = False
  162.         Width = 45
  163.       end
  164.       object lblRetencion: TcxLabel
  165.         Left = 11
  166.         Top = 14
  167.         Anchors = [akTop, akRight]
  168.         Caption = 'Retenci'#243'n'
  169.         Transparent = True
  170.         Visible = False
  171.       end
  172.     end
  173.     object pagPrincipal: TcxPageControl
  174.       Left = 4
  175.       Top = 1
  176.       Width = 562
  177.       Height = 144
  178.       Anchors = [akLeft, akTop, akRight, akBottom]
  179.       TabOrder = 2
  180.       Properties.ActivePage = tabEnvios
  181.       Properties.CustomButtons.Buttons = <>
  182.       ClientRectBottom = 140
  183.       ClientRectLeft = 4
  184.       ClientRectRight = 558
  185.       ClientRectTop = 24
  186.       object tabDesgloseIVA: TcxTabSheet
  187.         Caption = 'Desglose IVA'
  188.         ImageIndex = 0
  189.         DesignSize = (
  190.           554
  191.           116)
  192.         object gridDesgloseIVA: TcxGrid
  193.           Left = 4
  194.           Top = 8
  195.           Width = 377
  196.           Height = 107
  197.           Anchors = [akLeft, akTop, akRight, akBottom]
  198.           TabOrder = 0
  199.           object vistaDesgloseIVA: TcxGridDBTableView
  200.             Navigator.Buttons.CustomButtons = <>
  201.             DataController.DataSource = dsDesglose
  202.             DataController.Summary.DefaultGroupSummaryItems = <>
  203.             DataController.Summary.FooterSummaryItems = <
  204.               item
  205.                 Format = '0 L'#237'neas'
  206.                 Kind = skCount
  207.               end
  208.               item
  209.                 Format = ',0'
  210.                 Kind = skSum
  211.               end
  212.               item
  213.                 Format = ',0.0000'
  214.                 Kind = skSum
  215.               end
  216.               item
  217.                 Format = ',0.00'
  218.                 Kind = skSum
  219.               end
  220.               item
  221.                 Format = ',0.0000'
  222.                 Kind = skSum
  223.               end
  224.               item
  225.                 Format = ',0.0000'
  226.                 Kind = skSum
  227.                 Column = gridDesgloseIVA_ImporteRecEq
  228.               end
  229.               item
  230.                 Format = ',0.0000'
  231.                 Kind = skSum
  232.                 Column = gridDesgloseIVA_ImporteIVA
  233.               end
  234.               item
  235.                 Format = ',0.0000'
  236.                 Kind = skSum
  237.                 Column = gridDesgloseIVA_Base
  238.               end>
  239.             DataController.Summary.SummaryGroups = <>
  240.             OptionsView.ColumnAutoWidth = True
  241.             OptionsView.Footer = True
  242.             OptionsView.GroupByBox = False
  243.             object gridDesgloseIVA_Base: TcxGridDBColumn
  244.               Caption = 'Base'
  245.               DataBinding.FieldName = 'DES_IMPORTE_BASE'
  246.               PropertiesClassName = 'TcxTextEditProperties'
  247.               Properties.ReadOnly = True
  248.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  249.               Width = 79
  250.             end
  251.             object gridDesgloseIVA_IVA: TcxGridDBColumn
  252.               Caption = 'IVA'
  253.               DataBinding.FieldName = 'DES_IVA'
  254.               PropertiesClassName = 'TcxTextEditProperties'
  255.               Properties.ReadOnly = True
  256.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  257.               Width = 42
  258.             end
  259.             object gridDesgloseIVA_ImporteIVA: TcxGridDBColumn
  260.               Caption = 'Importe'
  261.               DataBinding.FieldName = 'DES_IMPORTE_IVA'
  262.               PropertiesClassName = 'TcxTextEditProperties'
  263.               Properties.ReadOnly = True
  264.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  265.               Width = 84
  266.             end
  267.             object gridDesgloseIVA_RecEq: TcxGridDBColumn
  268.               Caption = 'Rec.Eq.'
  269.               DataBinding.FieldName = 'DES_REC_EQ'
  270.               PropertiesClassName = 'TcxTextEditProperties'
  271.               Properties.ReadOnly = True
  272.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  273.               Width = 64
  274.             end
  275.             object gridDesgloseIVA_ImporteRecEq: TcxGridDBColumn
  276.               Caption = 'Importe'
  277.               DataBinding.FieldName = 'DES_IMPORTE_REC_EQ'
  278.               PropertiesClassName = 'TcxTextEditProperties'
  279.               Properties.ReadOnly = True
  280.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  281.               Width = 90
  282.             end
  283.           end
  284.           object levelDesgloseIVA: TcxGridLevel
  285.             GridView = vistaDesgloseIVA
  286.           end
  287.         end
  288.         object chkExentoIVA: TcxDBCheckBox
  289.           Left = 391
  290.           Top = 8
  291.           Anchors = [akTop, akRight]
  292.           Caption = 'Exento IVA'
  293.           DataBinding.DataField = 'EXENTO_IVA'
  294.           DataBinding.DataSource = dsDatos
  295.           Properties.Alignment = taLeftJustify
  296.           Properties.ImmediatePost = True
  297.           Properties.ValueChecked = 1
  298.           Properties.ValueUnchecked = 0
  299.           TabOrder = 1
  300.           Transparent = True
  301.           Width = 102
  302.         end
  303.         object chkAplicarRecEq: TcxDBCheckBox
  304.           Left = 391
  305.           Top = 35
  306.           Anchors = [akTop, akRight]
  307.           Caption = 'Aplicar Recargo de Equivalencia'
  308.           DataBinding.DataField = 'APLICAR_REC_EQ'
  309.           DataBinding.DataSource = dsDatos
  310.           Properties.Alignment = taLeftJustify
  311.           Properties.ImmediatePost = True
  312.           Properties.ValueChecked = 1
  313.           Properties.ValueUnchecked = 0
  314.           TabOrder = 2
  315.           Transparent = True
  316.           Width = 169
  317.         end
  318.       end
  319.       object tabEnvios: TcxTabSheet
  320.         Caption = 'Env'#237'os'
  321.         ImageIndex = 2
  322.         DesignSize = (
  323.           554
  324.           116)
  325.         object btnEMail_Consulta: TSpeedButton
  326.           Left = 387
  327.           Top = 3
  328.           Width = 26
  329.           Height = 25
  330.           Hint = 'Enviar por e-Mail'
  331.           Anchors = [akTop, akRight]
  332.           ExplicitLeft = 395
  333.         end
  334.         object gridEnvios: TcxGrid
  335.           Left = 4
  336.           Top = 8
  337.           Width = 377
  338.           Height = 107
  339.           Anchors = [akLeft, akTop, akRight, akBottom]
  340.           TabOrder = 0
  341.           object vistaEnvios: TcxGridDBTableView
  342.             Navigator.Buttons.CustomButtons = <>
  343.             DataController.DataSource = dsEMails
  344.             DataController.KeyFieldNames = 'EMA_ID'
  345.             DataController.Summary.DefaultGroupSummaryItems = <>
  346.             DataController.Summary.FooterSummaryItems = <
  347.               item
  348.                 Format = '0 L'#237'neas'
  349.                 Kind = skCount
  350.               end
  351.               item
  352.                 Format = ',0'
  353.                 Kind = skSum
  354.               end
  355.               item
  356.                 Format = ',0.0000'
  357.                 Kind = skSum
  358.               end
  359.               item
  360.                 Format = ',0.00'
  361.                 Kind = skSum
  362.               end
  363.               item
  364.                 Format = ',0.0000'
  365.                 Kind = skSum
  366.               end
  367.               item
  368.                 Format = ',0.0000'
  369.                 Kind = skSum
  370.               end
  371.               item
  372.                 Format = ',0.0000'
  373.                 Kind = skSum
  374.               end
  375.               item
  376.                 Format = ',0.0000'
  377.                 Kind = skSum
  378.               end>
  379.             DataController.Summary.SummaryGroups = <>
  380.             OptionsData.CancelOnExit = False
  381.             OptionsData.Deleting = False
  382.             OptionsData.DeletingConfirmation = False
  383.             OptionsData.Editing = False
  384.             OptionsData.Inserting = False
  385.             OptionsView.ColumnAutoWidth = True
  386.             OptionsView.GroupByBox = False
  387.             object colEnvios_Fecha: TcxGridDBColumn
  388.               Caption = 'Fecha'
  389.               DataBinding.FieldName = 'EMA_FECHA'
  390.               Width = 111
  391.             end
  392.             object colEnvios_Concepto: TcxGridDBColumn
  393.               Caption = 'Asunto'
  394.               DataBinding.FieldName = 'EMA_ASUNTO'
  395.               PropertiesClassName = 'TcxTextEditProperties'
  396.               Properties.ReadOnly = True
  397.               Styles.Content = dmAx_Data.cxStyleDeshabilitat
  398.               Width = 272
  399.             end
  400.           end
  401.           object levelEnvios: TcxGridLevel
  402.             GridView = vistaEnvios
  403.           end
  404.         end
  405.       end
  406.       object tabObservaciones: TcxTabSheet
  407.         Caption = 'Observaciones'
  408.         ImageIndex = 1
  409.         DesignSize = (
  410.           554
  411.           116)
  412.         object txtObservaciones: TcxDBMemo
  413.           Left = 3
  414.           Top = 6
  415.           Anchors = [akLeft, akTop, akRight, akBottom]
  416.           DataBinding.DataField = 'ALB_OBSERVACIONES'
  417.           DataBinding.DataSource = dsDatos
  418.           TabOrder = 0
  419.           Height = 111
  420.           Width = 548
  421.         end
  422.       end
  423.     end
  424.     object navLineas: TcxDBNavigator
  425.       Left = 663
  426.       Top = 0
  427.       Width = 104
  428.       Height = 25
  429.       BorderStyle = nbsNone
  430.       Buttons.CustomButtons = <>
  431.       Buttons.First.Hint = 'Primero'
  432.       Buttons.First.ImageIndex = 4
  433.       Buttons.First.Visible = False
  434.       Buttons.PriorPage.Hint = 'P'#225'gina anterior'
  435.       Buttons.PriorPage.ImageIndex = 4
  436.       Buttons.PriorPage.Visible = False
  437.       Buttons.Prior.Hint = 'Anterior'
  438.       Buttons.Prior.ImageIndex = 5
  439.       Buttons.Prior.Visible = False
  440.       Buttons.Next.Hint = 'Siguiente'
  441.       Buttons.Next.Visible = False
  442.       Buttons.NextPage.Hint = 'P'#225'gina siguiente'
  443.       Buttons.NextPage.ImageIndex = 7
  444.       Buttons.NextPage.Visible = False
  445.       Buttons.Last.Hint = #218'ltimo'
  446.       Buttons.Last.ImageIndex = 7
  447.       Buttons.Last.Visible = False
  448.       Buttons.Insert.Hint = 'A'#241'adir'
  449.       Buttons.Insert.ImageIndex = 1
  450.       Buttons.Insert.Visible = True
  451.       Buttons.Delete.Hint = 'Eliminar'
  452.       Buttons.Delete.ImageIndex = 3
  453.       Buttons.Edit.Hint = 'Editar'
  454.       Buttons.Edit.ImageIndex = 10
  455.       Buttons.Edit.Visible = False
  456.       Buttons.Post.Hint = 'Confirmar'
  457.       Buttons.Post.ImageIndex = 17
  458.       Buttons.Post.Visible = True
  459.       Buttons.Cancel.Hint = 'Cancelar'
  460.       Buttons.Cancel.ImageIndex = 18
  461.       Buttons.Cancel.Visible = True
  462.       Buttons.Refresh.Hint = 'Actualizar'
  463.       Buttons.Refresh.ImageIndex = 9
  464.       Buttons.Refresh.Visible = False
  465.       Buttons.SaveBookmark.Hint = 'Guardar posici'#243'n'
  466.       Buttons.SaveBookmark.Visible = False
  467.       Buttons.GotoBookmark.Hint = 'Ir a la posici'#243'n guardada'
  468.       Buttons.GotoBookmark.ImageIndex = 16
  469.       Buttons.GotoBookmark.Visible = False
  470.       Buttons.Filter.Hint = 'Filtrar'
  471.       Buttons.Filter.ImageIndex = 15
  472.       Buttons.Filter.Visible = False
  473.       DataSource = dsLineas
  474.       InfoPanel.Font.Charset = DEFAULT_CHARSET
  475.       InfoPanel.Font.Color = clDefault
  476.       InfoPanel.Font.Height = -13
  477.       InfoPanel.Font.Name = 'Tahoma'
  478.       InfoPanel.Font.Style = []
  479.       InfoPanel.ParentFont = False
  480.       LookAndFeel.Kind = lfOffice11
  481.       LookAndFeel.NativeStyle = True
  482.       Anchors = [akTop, akRight]
  483.       ParentShowHint = False
  484.       ShowHint = True
  485.       TabOrder = 0
  486.     end
  487.   end
  488.   object panelSuperior: TPanel [3]
  489.     Left = 0
  490.     Top = 26
  491.     Width = 772
  492.     Height = 296
  493.     Align = alClient
  494.     BevelOuter = bvNone
  495.     TabOrder = 3
  496.     DesignSize = (
  497.       772
  498.       296)
  499.     object gridLineas: TcxGrid
  500.       Left = 1
  501.       Top = 5
  502.       Width = 771
  503.       Height = 289
  504.       Anchors = [akLeft, akTop, akRight, akBottom]
  505.       TabOrder = 0
  506.       object vistaLineas: TcxGridDBTableView
  507.         Navigator.Buttons.CustomButtons = <>
  508.         DataController.DataSource = dsLineas
  509.         DataController.KeyFieldNames = 'ID'
  510.         DataController.Summary.DefaultGroupSummaryItems = <>
  511.         DataController.Summary.FooterSummaryItems = <
  512.           item
  513.             Format = '0'
  514.             Kind = skSum
  515.             Column = gridLineas_UNIDADES
  516.           end
  517.           item
  518.             Format = '0 L'#237'neas'
  519.             Kind = skCount
  520.             Column = gridLineas_CONCEPTO
  521.           end
  522.           item
  523.             Format = ',0.00'
  524.             Kind = skSum
  525.             FieldName = 'PVP_x_UNIDADES'
  526.             Column = gridLineas_PVP
  527.           end
  528.           item
  529.             Format = ',0.00'
  530.             Kind = skSum
  531.             FieldName = 'COSTE_x_UNIDADES'
  532.             Column = gridLineas_COSTE
  533.           end
  534.           item
  535.             Format = ',0.00'
  536.             Kind = skSum
  537.             Column = gridLineas_IMPORTE_TOTAL
  538.           end>
  539.         DataController.Summary.SummaryGroups = <>
  540.         OptionsView.ColumnAutoWidth = True
  541.         OptionsView.Footer = True
  542.         OptionsView.GroupByBox = False
  543.         object gridLineas_PRD_ID: TcxGridDBColumn
  544.           Caption = 'Codigo'
  545.           DataBinding.FieldName = 'ALI_PRD_ID'
  546.           PropertiesClassName = 'TcxButtonEditProperties'
  547.           Properties.Buttons = <
  548.             item
  549.               Default = True
  550.               Kind = bkEllipsis
  551.             end>
  552.           Properties.OnButtonClick = gridLineasALI_PRD_IDPropertiesButtonClick
  553.           Width = 44
  554.         end
  555.         object gridLineas_UNIDADES: TcxGridDBColumn
  556.           Caption = 'Unidades'
  557.           DataBinding.FieldName = 'ALI_UNIDADES'
  558.           PropertiesClassName = 'TcxSpinEditProperties'
  559.           Width = 55
  560.         end
  561.         object gridLineas_STOCK_POR_UNIDAD: TcxGridDBColumn
  562.           Caption = 'Stock x Uds.'
  563.           DataBinding.FieldName = 'STOCK_POR_UNIDAD'
  564.           PropertiesClassName = 'TcxCurrencyEditProperties'
  565.           Properties.DecimalPlaces = 6
  566.           Properties.DisplayFormat = ',0.00####'
  567.           Visible = False
  568.           Width = 66
  569.         end
  570.         object gridLineas_CONCEPTO: TcxGridDBColumn
  571.           Caption = 'Concepto'
  572.           DataBinding.FieldName = 'CONCEPTO'
  573.           Width = 282
  574.         end
  575.         object gridLineas_COSTE: TcxGridDBColumn
  576.           Caption = 'Coste'
  577.           PropertiesClassName = 'TcxCurrencyEditProperties'
  578.           Properties.DecimalPlaces = 12
  579.           Properties.DisplayFormat = ',0.00##########'
  580.           Width = 59
  581.         end
  582.         object gridLineas_PVP: TcxGridDBColumn
  583.           Caption = 'PVP'
  584.           PropertiesClassName = 'TcxCurrencyEditProperties'
  585.           Properties.DecimalPlaces = 12
  586.           Properties.DisplayFormat = ',0.00##########'
  587.           Width = 54
  588.         end
  589.         object gridLineas_IVA: TcxGridDBColumn
  590.           Caption = 'Iva'
  591.           DataBinding.FieldName = 'ALI_IVA'
  592.           PropertiesClassName = 'TcxCurrencyEditProperties'
  593.           Properties.DisplayFormat = '0'
  594.           Width = 28
  595.         end
  596.         object gridLineas_REC_EQ: TcxGridDBColumn
  597.           Caption = 'Rec.Eq.'
  598.           DataBinding.FieldName = 'ALI_REC_EQ'
  599.           PropertiesClassName = 'TcxCurrencyEditProperties'
  600.           Properties.DisplayFormat = '0'
  601.           Width = 65
  602.         end
  603.         object gridLineas_DTO: TcxGridDBColumn
  604.           Caption = 'Dto.'
  605.           DataBinding.FieldName = 'ALI_DTO'
  606.           PropertiesClassName = 'TcxCurrencyEditProperties'
  607.           Properties.DisplayFormat = '0'
  608.           Width = 42
  609.         end
  610.         object gridLineas_IMPORTE_TOTAL: TcxGridDBColumn
  611.           Caption = 'Total'
  612.           DataBinding.FieldName = 'ALI_IMPORTE_TOTAL'
  613.           PropertiesClassName = 'TcxCurrencyEditProperties'
  614.           Properties.DecimalPlaces = 4
  615.           Properties.DisplayFormat = ',0.00##;-,0.00##'
  616.           Styles.Content = dmAx_Data.cxStyleDeshabilitat
  617.           Width = 74
  618.         end
  619.       end
  620.       object levelLineas: TcxGridLevel
  621.         GridView = vistaLineas
  622.       end
  623.     end
  624.   end
  625.   object spltInferior: TcxSplitter [4]
  626.     Left = 0
  627.     Top = 322
  628.     Width = 772
  629.     Height = 3
  630.     AlignSplitter = salBottom
  631.     NativeBackground = False
  632.     Control = panelInferior
  633.     Color = clBackground
  634.     ParentColor = False
  635.   end
  636.   inherited cdsDatos: TClientDataSet
  637.     Params = <
  638.       item
  639.         DataType = ftString
  640.         Name = 'ID'
  641.         ParamType = ptInputOutput
  642.       end>
  643.     object cdsDatos_ID: TIntegerField
  644.       FieldName = 'ID'
  645.       OnGetText = cdsDatos_IDGetText
  646.     end
  647.     object cdsDatos_EMP_ID: TIntegerField
  648.       FieldName = 'EMP_ID'
  649.     end
  650.     object cdsDatos_FECHA: TDateTimeField
  651.       FieldName = 'FECHA'
  652.     end
  653.     object cdsDatos_DTO: TBCDField
  654.       FieldName = 'DTO'
  655.       OnChange = iCalculaTotals
  656.       Precision = 32
  657.     end
  658.     object cdsDatos_IMPORTE_DTO: TBCDField
  659.       FieldName = 'IMPORTE_DTO'
  660.       DisplayFormat = ',0.0000'
  661.       Precision = 32
  662.     end
  663.     object cdsDatos_IMPORTE_BASE: TBCDField
  664.       FieldName = 'IMPORTE_BASE'
  665.       DisplayFormat = ',0.0000'
  666.       Precision = 32
  667.     end
  668.     object cdsDatos_IMPORTE_TOTAL: TBCDField
  669.       FieldName = 'IMPORTE_TOTAL'
  670.       DisplayFormat = ',0.00'
  671.       Precision = 32
  672.     end
  673.     object cdsDatos_EXENTO_IVA: TSmallintField
  674.       FieldName = 'EXENTO_IVA'
  675.       OnChange = cdsDatos_EXENTO_IVAChange
  676.     end
  677.     object cdsDatos_APLICAR_REC_EQ: TSmallintField
  678.       FieldName = 'APLICAR_REC_EQ'
  679.     end
  680.     object cdsDatos_OBSERVACIONES: TMemoField
  681.       FieldName = 'OBSERVACIONES'
  682.       BlobType = ftMemo
  683.     end
  684.   end
  685.   object dspLineas: TpFIBDataSetProvider [10]
  686.     DataSet = qryLineas
  687.     UpdateMode = upWhereKeyOnly
  688.     Left = 70
  689.     Top = 193
  690.   end
  691.   object dsLineas: TDataSource [11]
  692.     DataSet = cdsLineas
  693.     Left = 70
  694.     Top = 193
  695.   end
  696.   object cdsLineas: TClientDataSet [12]
  697.     Aggregates = <>
  698.     Params = <
  699.       item
  700.         DataType = ftString
  701.         Name = 'ID'
  702.         ParamType = ptInputOutput
  703.       end>
  704.     ProviderName = 'dspLineas'
  705.     AfterInsert = cdsLineasAfterInsert
  706.     AfterEdit = cdsLineasAfterEdit
  707.     AfterPost = iiCalculaTotals
  708.     AfterDelete = iiCalculaTotals
  709.     Left = 98
  710.     Top = 193
  711.     object cdsLineas_ID: TIntegerField
  712.       FieldName = 'ID'
  713.     end
  714.     object cdsLineas_Maestro: TIntegerField
  715.       FieldName = 'Maestro_ID'
  716.     end
  717.     object cdsLineas_PRD_ID: TIntegerField
  718.       FieldName = 'PRD_ID'
  719.       OnChange = cdsLineas_PRD_IDChange
  720.     end
  721.     object cdsLineas_PRD_COL_ID: TIntegerField
  722.       FieldName = 'PRD_COL_ID'
  723.     end
  724.     object cdsLineas_PRD_TAL_ID: TIntegerField
  725.       FieldName = 'PRD_TAL_ID'
  726.     end
  727.     object cdsLineas_Concepto: TStringField
  728.       FieldName = 'CONCEPTO'
  729.       Size = 100
  730.     end
  731.     object cdsLineas_UNIDADES: TBCDField
  732.       FieldName = 'UNIDADES'
  733.       OnChange = iCalculaTotalsLinea
  734.       Precision = 32
  735.     end
  736.     object cdsLineas_PVP: TFloatField
  737.       FieldName = 'PVP'
  738.       OnChange = iCalculaTotalsLinea
  739.     end
  740.     object cdsLineas_COSTE: TFloatField
  741.       FieldName = 'COSTE'
  742.       OnChange = iCalculaTotalsLinea
  743.     end
  744.     object cdsLineas_DTO: TBCDField
  745.       FieldName = 'DTO'
  746.       OnChange = iCalculaTotalsLinea
  747.       Precision = 32
  748.     end
  749.     object cdsLineas_IVA: TBCDField
  750.       FieldName = 'IVA'
  751.       OnChange = iCalculaTotalsLinea
  752.       Precision = 32
  753.     end
  754.     object cdsLineas_REC_EQ: TBCDField
  755.       FieldName = 'REC_EQ'
  756.       OnChange = iCalculaTotalsLinea
  757.       Precision = 32
  758.     end
  759.     object cdsLineas_IMPORTE_DTO: TBCDField
  760.       FieldName = 'IMPORTE_DTO'
  761.       DisplayFormat = ',0.00'
  762.       Precision = 32
  763.     end
  764.     object cdsLineas_IMPORTE_BASE: TBCDField
  765.       FieldName = 'IMPORTE_BASE'
  766.       DisplayFormat = ',0.00'
  767.       Precision = 32
  768.     end
  769.     object cdsLineas_IMPORTE_IVA: TBCDField
  770.       FieldName = 'IMPORTE_IVA'
  771.       DisplayFormat = ',0.00'
  772.       Precision = 32
  773.     end
  774.     object cdsLineas_IMPORTE_REC_EQ: TBCDField
  775.       FieldName = 'IMPORTE_REC_EQ'
  776.       DisplayFormat = ',0.00'
  777.       Precision = 32
  778.     end
  779.     object cdsLineas_IMPORTE_TOTAL: TBCDField
  780.       FieldName = 'IMPORTE_TOTAL'
  781.       OnChange = CalculPreuUnitari
  782.       DisplayFormat = ',0.00'
  783.       Precision = 32
  784.     end
  785.   end
  786.   object qryLineas: TpFIBDataSet [13]
  787.     UniDirectional = True
  788.     Transaction = Trans
  789.     Database = dmAx_Data.Cn
  790.     Left = 70
  791.     Top = 193
  792.     object qryLineas_ID: TFIBIntegerField
  793.       FieldName = 'ID'
  794.       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
  795.     end
  796.     object qryLineas_Maestro: TFIBIntegerField
  797.       FieldName = 'Maestro_ID'
  798.     end
  799.     object qryLineas_PRD_ID: TFIBIntegerField
  800.       FieldName = 'PRD_ID'
  801.     end
  802.     object qryLineas_PRD_COL_ID: TFIBIntegerField
  803.       FieldName = 'PRD_COL_ID'
  804.     end
  805.     object qryLineas_PRD_TAL_ID: TFIBIntegerField
  806.       FieldName = 'PRD_TAL_ID'
  807.     end
  808.     object qryLineas_Concepto: TFIBStringField
  809.       FieldName = 'CONCEPTO'
  810.       Size = 100
  811.       EmptyStrToNull = True
  812.     end
  813.     object qryLineas_UNIDADES: TFIBBCDField
  814.       FieldName = 'UNIDADES'
  815.       DisplayFormat = '#,##0.0000'
  816.       EditFormat = '0.0000'
  817.       Size = 4
  818.       RoundByScale = True
  819.     end
  820.     object qryLineas_PVP: TFIBFloatField
  821.       FieldName = 'PVP'
  822.     end
  823.     object qryLineas_COSTE: TFIBFloatField
  824.       FieldName = 'COSTE'
  825.     end
  826.     object qryLineas_DTO: TFIBBCDField
  827.       FieldName = 'DTO'
  828.       DisplayFormat = '#,##0.0000'
  829.       EditFormat = '0.0000'
  830.       Size = 4
  831.       RoundByScale = True
  832.     end
  833.     object qryLineas_IVA: TFIBBCDField
  834.       FieldName = 'IVA'
  835.       DisplayFormat = '#,##0.0000'
  836.       EditFormat = '0.0000'
  837.       Size = 4
  838.       RoundByScale = True
  839.     end
  840.     object qryLineas_REC_EQ: TFIBBCDField
  841.       FieldName = 'REC_EQ'
  842.       DisplayFormat = '#,##0.0000'
  843.       EditFormat = '0.0000'
  844.       Size = 4
  845.       RoundByScale = True
  846.     end
  847.     object qryLineas_IMPORTE_DTO: TFIBBCDField
  848.       FieldName = 'IMPORTE_DTO'
  849.       DisplayFormat = '#,##0.00'
  850.       EditFormat = '0.00'
  851.       Size = 4
  852.       RoundByScale = True
  853.     end
  854.     object qryLineas_IMPORTE_BASE: TFIBBCDField
  855.       FieldName = 'IMPORTE_BASE'
  856.       DisplayFormat = '#,##0.00'
  857.       EditFormat = '0.00'
  858.       Size = 4
  859.       RoundByScale = True
  860.     end
  861.     object qryLineas_IMPORTE_IVA: TFIBBCDField
  862.       FieldName = 'IMPORTE_IVA'
  863.       DisplayFormat = '#,##0.00'
  864.       EditFormat = '0.00'
  865.       Size = 4
  866.       RoundByScale = True
  867.     end
  868.     object qryLineas_IMPORTE_REC_EQ: TFIBBCDField
  869.       FieldName = 'IMPORTE_REC_EQ'
  870.       DisplayFormat = '#,##0.00'
  871.       EditFormat = '0.00'
  872.       Size = 4
  873.       RoundByScale = True
  874.     end
  875.     object qryLineas_IMPORTE_TOTAL: TFIBBCDField
  876.       FieldName = 'IMPORTE_TOTAL'
  877.       DisplayFormat = '#,##0.00'
  878.       EditFormat = '0.00'
  879.       Size = 4
  880.       RoundByScale = True
  881.     end
  882.   end
  883.   inherited qryDatos: TpFIBDataSet
  884.     object qryDatos_ID: TFIBIntegerField
  885.       FieldName = 'ID'
  886.     end
  887.     object qryDatos_EMP_ID: TIntegerField
  888.       FieldName = 'EMP_ID'
  889.     end
  890.     object qryDatos_FECHA: TDateTimeField
  891.       FieldName = 'FECHA'
  892.     end
  893.     object qryDatos_DTO: TFIBBCDField
  894.       FieldName = 'DTO'
  895.       DisplayFormat = '#,##0.0000'
  896.       EditFormat = '0.0000'
  897.       Size = 4
  898.       RoundByScale = True
  899.     end
  900.     object qryDatos_IMPORTE_DTO: TFIBBCDField
  901.       FieldName = 'IMPORTE_DTO'
  902.       DisplayFormat = '#,##0.00'
  903.       EditFormat = '0.00'
  904.       Size = 4
  905.       RoundByScale = True
  906.     end
  907.     object qryDatos_IMPORTE_BASE: TFIBBCDField
  908.       FieldName = 'IMPORTE_BASE'
  909.       DisplayFormat = '#,##0.00'
  910.       EditFormat = '0.00'
  911.       Size = 4
  912.       RoundByScale = True
  913.     end
  914.     object qryDatos_IMPORTE_TOTAL: TFIBBCDField
  915.       FieldName = 'IMPORTE_TOTAL'
  916.       DisplayFormat = '#,##0.00'
  917.       EditFormat = '0.00'
  918.       Size = 4
  919.       RoundByScale = True
  920.     end
  921.     object qryDatos_EXENTO_IVA: TSmallintField
  922.       FieldName = 'EXENTO_IVA'
  923.     end
  924.     object qryDatosAPLICAR_REC_EQ: TSmallintField
  925.       FieldName = 'APLICAR_REC_EQ'
  926.     end
  927.     object qryDatos_OBSERVACIONES: TMemoField
  928.       FieldName = 'OBSERVACIONES'
  929.       BlobType = ftMemo
  930.     end
  931.   end
  932.   object qryProducto: TpFIBDataSet
  933.     UniDirectional = True
  934.     SelectSQL.Strings = (
  935.       'select PRD_PRODUCTO,'
  936.       
  937.         '       coalesce(PVP_IMPORTE, PRD_PVP_BASE) as PRD_PVP_BASE, PRD_' +
  938.         'PVP_IVA_PORCENTAJE, PRD_PVP_REC_EQ_PORCENTAJE,'
  939.       
  940.         '       PRD_COSTE_BASE, PRD_COSTE_IVA_PORCENTAJE, PRD_COSTE_REC_E' +
  941.         'Q_PORCENTAJE, PRD_STOCK_POR_UNIDAD'
  942.       'from PR_PRODUCTO'
  943.       
  944.         '     left outer join PR_PRD_PVP on PVP_PRD_ID = PRD_ID and PVP_T' +
  945.         'AR_ID = :TAR_ID'
  946.       'where PRD_ID = :PRD_ID')
  947.     Transaction = Trans
  948.     Database = dmAx_Data.Cn
  949.     Left = 141
  950.     Top = 194
  951.     poSQLINT64ToBCD = True
  952.     object qryProducto_PRD_PRODUCTO: TFIBStringField
  953.       FieldName = 'PRD_PRODUCTO'
  954.       Size = 100
  955.       EmptyStrToNull = True
  956.     end
  957.     object qryProducto_PRD_PVP_BASE: TFIBBCDField
  958.       FieldName = 'PRD_PVP_BASE'
  959.       Size = 4
  960.       RoundByScale = True
  961.     end
  962.     object qryProducto_PRD_PVP_IVA_PORCENTAJE: TFIBBCDField
  963.       FieldName = 'PRD_PVP_IVA_PORCENTAJE'
  964.       Size = 4
  965.       RoundByScale = True
  966.     end
  967.     object qryProducto_PRD_PVP_REC_EQ_PORCENTAJE: TFIBBCDField
  968.       FieldName = 'PRD_PVP_REC_EQ_PORCENTAJE'
  969.       Size = 4
  970.       RoundByScale = True
  971.     end
  972.     object qryProducto_PRD_COSTE_BASE: TFIBBCDField
  973.       FieldName = 'PRD_COSTE_BASE'
  974.       Size = 4
  975.       RoundByScale = True
  976.     end
  977.     object qryProducto_PRD_COSTE_IVA_PORCENTAJE: TFIBBCDField
  978.       FieldName = 'PRD_COSTE_IVA_PORCENTAJE'
  979.       Size = 4
  980.       RoundByScale = True
  981.     end
  982.     object qryProducto_PRD_COSTE_REC_EQ_PORCENTAJE: TFIBBCDField
  983.       FieldName = 'PRD_COSTE_REC_EQ_PORCENTAJE'
  984.       Size = 4
  985.       RoundByScale = True
  986.     end
  987.     object qryProducto_PRD_STOCK_POR_UNIDAD: TFIBBCDField
  988.       FieldName = 'PRD_STOCK_POR_UNIDAD'
  989.       Size = 4
  990.       RoundByScale = True
  991.     end
  992.   end
  993.   object dspDesglose: TpFIBDataSetProvider
  994.     DataSet = qryDesglose
  995.     UpdateMode = upWhereKeyOnly
  996.     Left = 70
  997.     Top = 225
  998.   end
  999.   object dsDesglose: TDataSource
  1000.     DataSet = cdsDesglose
  1001.     Left = 70
  1002.     Top = 225
  1003.   end
  1004.   object cdsDesglose: TClientDataSet
  1005.     Aggregates = <>
  1006.     Params = <
  1007.       item
  1008.         DataType = ftString
  1009.         Name = 'ID'
  1010.         ParamType = ptInputOutput
  1011.       end>
  1012.     ProviderName = 'dspDesglose'
  1013.     Left = 98
  1014.     Top = 225
  1015.     object cdsDesglose_DES_ID: TIntegerField
  1016.       FieldName = 'DES_ID'
  1017.     end
  1018.     object cdsDesglose_Maestro: TIntegerField
  1019.       FieldName = 'DES_ALB_ID'
  1020.     end
  1021.     object cdsDesglose_DES_IVA: TBCDField
  1022.       FieldName = 'DES_IVA'
  1023.       Precision = 32
  1024.     end
  1025.     object cdsDesglose_DES_REC_EQ: TBCDField
  1026.       FieldName = 'DES_REC_EQ'
  1027.       Precision = 32
  1028.     end
  1029.     object cdsDesglose_DES_IMPORTE_BASE: TBCDField
  1030.       FieldName = 'DES_IMPORTE_BASE'
  1031.       Precision = 32
  1032.     end
  1033.     object cdsDesglose_DES_IMPORTE_IVA: TBCDField
  1034.       FieldName = 'DES_IMPORTE_IVA'
  1035.       Precision = 32
  1036.     end
  1037.     object cdsDesglose_DES_IMPORTE_REC_EQ: TBCDField
  1038.       FieldName = 'DES_IMPORTE_REC_EQ'
  1039.       Precision = 32
  1040.     end
  1041.   end
  1042.   object qryDesglose: TpFIBDataSet
  1043.     UniDirectional = True
  1044.     Transaction = Trans
  1045.     Database = dmAx_Data.Cn
  1046.     Left = 70
  1047.     Top = 225
  1048.     object qryDesglose_DES_ID: TFIBIntegerField
  1049.       FieldName = 'DES_ID'
  1050.       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
  1051.     end
  1052.     object qryDesglose_Maestro: TFIBIntegerField
  1053.       FieldName = 'DES_ALB_ID'
  1054.     end
  1055.     object qryDesglose_DES_IVA: TFIBBCDField
  1056.       FieldName = 'DES_IVA'
  1057.       DisplayFormat = '#,##0.0000'
  1058.       EditFormat = '0.0000'
  1059.       Size = 4
  1060.       RoundByScale = True
  1061.     end
  1062.     object qryDesglose_DES_REC_EQ: TFIBBCDField
  1063.       FieldName = 'DES_REC_EQ'
  1064.       DisplayFormat = '#,##0.0000'
  1065.       EditFormat = '0.0000'
  1066.       Size = 4
  1067.       RoundByScale = True
  1068.     end
  1069.     object qryDesglose_DES_IMPORTE_BASE: TFIBBCDField
  1070.       FieldName = 'DES_IMPORTE_BASE'
  1071.       DisplayFormat = '#,##0.0000'
  1072.       EditFormat = '0.0000'
  1073.       Size = 4
  1074.       RoundByScale = True
  1075.     end
  1076.     object qryDesglose_DES_IMPORTE_IVA: TFIBBCDField
  1077.       FieldName = 'DES_IMPORTE_IVA'
  1078.       DisplayFormat = '#,##0.0000'
  1079.       EditFormat = '0.0000'
  1080.       Size = 4
  1081.       RoundByScale = True
  1082.     end
  1083.     object qryDesglose_DES_IMPORTE_REC_EQ: TFIBBCDField
  1084.       FieldName = 'DES_IMPORTE_REC_EQ'
  1085.       DisplayFormat = '#,##0.0000'
  1086.       EditFormat = '0.0000'
  1087.       Size = 4
  1088.       RoundByScale = True
  1089.     end
  1090.   end
  1091.   object dsEMails: TDataSource
  1092.     DataSet = cdsEMails
  1093.     Left = 70
  1094.     Top = 257
  1095.   end
  1096.   object dspEMails: TpFIBDataSetProvider
  1097.     DataSet = qryEMails
  1098.     UpdateMode = upWhereKeyOnly
  1099.     Left = 70
  1100.     Top = 257
  1101.   end
  1102.   object qryEMails: TpFIBDataSet
  1103.     UniDirectional = True
  1104.     SelectSQL.Strings = (
  1105.       'select EMA_ID, EMA_FECHA, EMA_ASUNTO'
  1106.       'from TR_TER_EMAIL'
  1107.       '     inner join TR_TER_EMAIL_ADJUNTO on ADJ_EMA_ID = EMA_ID'
  1108.       'where ADJ_TAB_ID = :TAB_ID and ADJ_REGISTRO = :REGISTRO'
  1109.       'group by EMA_ID, EMA_FECHA, EMA_ASUNTO')
  1110.     Transaction = Trans
  1111.     Database = dmAx_Data.Cn
  1112.     Left = 70
  1113.     Top = 257
  1114.     object qryEMailsEMA_ID: TFIBIntegerField
  1115.       FieldName = 'EMA_ID'
  1116.       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
  1117.     end
  1118.     object qryEMailsEMA_FECHA: TFIBDateTimeField
  1119.       FieldName = 'EMA_FECHA'
  1120.       DisplayFormat = 'dd.mm.yyyy hh:mm AMPM'
  1121.     end
  1122.     object qryEMailsEMA_ASUNTO: TFIBStringField
  1123.       FieldName = 'EMA_ASUNTO'
  1124.       Size = 100
  1125.       EmptyStrToNull = True
  1126.     end
  1127.   end
  1128.   object cdsEMails: TClientDataSet
  1129.     Aggregates = <>
  1130.     Params = <
  1131.       item
  1132.         DataType = ftInteger
  1133.         Name = 'TAB_ID'
  1134.         ParamType = ptInput
  1135.       end
  1136.       item
  1137.         DataType = ftInteger
  1138.         Name = 'REGISTRO'
  1139.         ParamType = ptInput
  1140.       end>
  1141.     ProviderName = 'dspEMails'
  1142.     Left = 98
  1143.     Top = 257
  1144.     object cdsEMailsEMA_ID: TIntegerField
  1145.       FieldName = 'EMA_ID'
  1146.     end
  1147.     object cdsEMailsEMA_FECHA: TDateTimeField
  1148.       FieldName = 'EMA_FECHA'
  1149.     end
  1150.     object cdsEMailsEMA_ASUNTO: TStringField
  1151.       FieldName = 'EMA_ASUNTO'
  1152.       Size = 100
  1153.     end
  1154.   end
  1155.  

 

Este proyecto lo programé en Delphi 2010 bajo Windows 7 y ahora estoy intentando recompilar mis modificaciones (que no tienen nada que ver con este formulario) bajo Delphi 2010 y Windows 10.

 

¿ Se os ocurre que puedo mirar para seguir este error ?.

 

Gracias.


  • 0

#2 Marc

Marc

    Advanced Member

  • Moderadores
  • PipPipPip
  • 1484 posts
  • LocationMallorca

Posted 06 April 2016 - 01:56 PM

Ya lo he encontrado.

 

En el DFM la propiedad BorderStyle del TcxDBNavigator tenía un montón de carácteres extraños en lugar del valor nbsNone. Lo había arreglado a mano en el bloc de notas, y al seguir encontrándome con el error pensaba que sería otro el problema. Pero es que no me había fijado que ahora el mismo error lo daba en otro formulario, un heredado de ese primer formulario que mantenía todos esos carácteres extraños. Lo he corregido también en el heredado y ya funciona correctamente.

 

Gracias.


  • 1




IP.Board spam blocked by CleanTalk.