Auto-refresco para algunas columnas en el grid.

git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@400 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
David Arranz 2008-06-02 10:30:02 +00:00
parent 58951b180b
commit 186af5e1c5
3 changed files with 15 additions and 7 deletions

View File

@ -50,6 +50,7 @@ inherited DataModuleAlbaranesCliente: TDataModuleAlbaranesCliente
DataType = datString DataType = datString
Size = 255 Size = 255
DisplayLabel = 'Nombre del cliente' DisplayLabel = 'Nombre del cliente'
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_NOMBRE' DictionaryEntry = 'AlbaranesCliente_NOMBRE'
end end
item item
@ -71,6 +72,7 @@ inherited DataModuleAlbaranesCliente: TDataModuleAlbaranesCliente
DataType = datString DataType = datString
Size = 255 Size = 255
DisplayLabel = 'AlbaranesCliente_REFERENCIA_CLIENTE' DisplayLabel = 'AlbaranesCliente_REFERENCIA_CLIENTE'
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REFERENCIA_CLIENTE' DictionaryEntry = 'AlbaranesCliente_REFERENCIA_CLIENTE'
end end
item item
@ -97,6 +99,7 @@ inherited DataModuleAlbaranesCliente: TDataModuleAlbaranesCliente
DataType = datString DataType = datString
Size = 255 Size = 255
DisplayLabel = 'Almac'#233'n' DisplayLabel = 'Almac'#233'n'
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_NOMBRE_ALMACEN' DictionaryEntry = 'AlbaranesCliente_NOMBRE_ALMACEN'
end end
item item
@ -109,6 +112,7 @@ inherited DataModuleAlbaranesCliente: TDataModuleAlbaranesCliente
DataType = datString DataType = datString
Size = 255 Size = 255
DisplayLabel = 'Ref. pedido cliente' DisplayLabel = 'Ref. pedido cliente'
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REF_PEDIDO' DictionaryEntry = 'AlbaranesCliente_REF_PEDIDO'
end end
item item
@ -121,6 +125,7 @@ inherited DataModuleAlbaranesCliente: TDataModuleAlbaranesCliente
DataType = datString DataType = datString
Size = 255 Size = 255
DisplayLabel = 'Ref. factura cliente' DisplayLabel = 'Ref. factura cliente'
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REF_FACTURA' DictionaryEntry = 'AlbaranesCliente_REF_FACTURA'
end end
item item

View File

@ -203,6 +203,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Name = 'NOMBRE' Name = 'NOMBRE'
DataType = datString DataType = datString
Size = 255 Size = 255
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_NOMBRE' DictionaryEntry = 'AlbaranesCliente_NOMBRE'
end end
item item
@ -221,6 +222,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Name = 'REFERENCIA_CLIENTE' Name = 'REFERENCIA_CLIENTE'
DataType = datString DataType = datString
Size = 255 Size = 255
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REFERENCIA_CLIENTE' DictionaryEntry = 'AlbaranesCliente_REFERENCIA_CLIENTE'
end end
item item
@ -244,6 +246,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Name = 'NOMBRE_ALMACEN' Name = 'NOMBRE_ALMACEN'
DataType = datString DataType = datString
Size = 255 Size = 255
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_NOMBRE_ALMACEN' DictionaryEntry = 'AlbaranesCliente_NOMBRE_ALMACEN'
end end
item item
@ -255,6 +258,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Name = 'REF_PEDIDO' Name = 'REF_PEDIDO'
DataType = datString DataType = datString
Size = 255 Size = 255
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REF_PEDIDO' DictionaryEntry = 'AlbaranesCliente_REF_PEDIDO'
end end
item item
@ -266,6 +270,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Name = 'REF_FACTURA' Name = 'REF_FACTURA'
DataType = datString DataType = datString
Size = 255 Size = 255
ServerAutoRefresh = True
DictionaryEntry = 'AlbaranesCliente_REF_FACTURA' DictionaryEntry = 'AlbaranesCliente_REF_FACTURA'
end end
item item
@ -401,7 +406,6 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
Statements = < Statements = <
item item
Connection = 'IBX' Connection = 'IBX'
TargetTable = 'ALBARANES_CLIENTE_DETALLES'
SQL = SQL =
'SELECT'#10' ALBARANES_CLIENTE_DETALLES.ID, ALBARANES_CLIENTE_DETA' + 'SELECT'#10' ALBARANES_CLIENTE_DETALLES.ID, ALBARANES_CLIENTE_DETA' +
'LLES.ID_ALBARAN,'#10' ALBARANES_CLIENTE_DETALLES.POSICION, ALBARA' + 'LLES.ID_ALBARAN,'#10' ALBARANES_CLIENTE_DETALLES.POSICION, ALBARA' +
@ -467,13 +471,11 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
end end
item item
DatasetField = 'REFERENCIA' DatasetField = 'REFERENCIA'
TableField = '<unknown>' TableField = 'REFERENCIA'
SQLOrigin = 'REFERENCIA'
end end
item item
DatasetField = 'REFERENCIA_PROVEEDOR' DatasetField = 'REFERENCIA_PROVEEDOR'
TableField = '<unknown>' TableField = 'REFERENCIA_PROVEEDOR'
SQLOrigin = 'REFERENCIA_PROVEEDOR'
end end
item item
DatasetField = 'ID_PEDIDO' DatasetField = 'ID_PEDIDO'
@ -1150,7 +1152,7 @@ object srvAlbaranesCliente: TsrvAlbaranesCliente
DeleteCommandName = 'Delete_AlbaranesCliente' DeleteCommandName = 'Delete_AlbaranesCliente'
UpdateCommandName = 'Update_AlbaranesCliente' UpdateCommandName = 'Update_AlbaranesCliente'
ReferencedDataset = 'AlbaranesCliente' ReferencedDataset = 'AlbaranesCliente'
ProcessorOptions = [poPrepareCommands] ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
UpdateMode = updWhereKeyOnly UpdateMode = updWhereKeyOnly
Left = 200 Left = 200
Top = 24 Top = 24

View File

@ -8,7 +8,6 @@ inherited frViewAlbaranesCliente: TfrViewAlbaranesCliente
Height = 362 Height = 362
RootLevelOptions.DetailTabsPosition = dtpTop RootLevelOptions.DetailTabsPosition = dtpTop
OnActiveTabChanged = cxGridActiveTabChanged OnActiveTabChanged = cxGridActiveTabChanged
ExplicitTop = 102
ExplicitWidth = 802 ExplicitWidth = 802
ExplicitHeight = 362 ExplicitHeight = 362
inherited cxGridView: TcxGridDBTableView inherited cxGridView: TcxGridDBTableView
@ -87,7 +86,9 @@ inherited frViewAlbaranesCliente: TfrViewAlbaranesCliente
end end
object cxGridViewREF_PEDIDO: TcxGridDBColumn object cxGridViewREF_PEDIDO: TcxGridDBColumn
DataBinding.FieldName = 'REF_PEDIDO' DataBinding.FieldName = 'REF_PEDIDO'
Visible = False
BestFitMaxWidth = 45 BestFitMaxWidth = 45
VisibleForCustomization = False
Width = 39 Width = 39
end end
object cxGridViewFECHA_PREVISTA_ENVIO: TcxGridDBColumn object cxGridViewFECHA_PREVISTA_ENVIO: TcxGridDBColumn