ok mira, lo que yo quiero es que un bat, me muestre que numero hay en la fila # x y en la fila #, Y que pida reemplazarlo por un numero nuevo y lo reemplce:
el texto es este mira...
nota: no es .txt es .qrp
Mi caso es que quiero que me muestre que numero hay despues del / que son la cantidad de meses y cuando me toque cambiarlo me muestre cuantos meses hay y pueda cambiarlo a lli mismo.
//--- Report Summary --- //
Begin ReportSummary
ReportType = reporttypeSales
ReportTitle = "Reporte Ventas Compras"
PageOrientation = pageorientationPortrait
WordWrap = False
ShowDateTimePicker = True
OutLineMode = True
Groups = 0
GroupDescription = ""
DisplayLogo = True
LogoFileName = "Walter Galvez"
ProcedureCall = ""
PreQuery1 = ""
PreQuery2 = ""
TablesQueried = <BEGIN>
FROM TransactionEntry WITH(NOLOCK)
INNER JOIN [Transaction] WITH(NOLOCK)
ON TransactionEntry.TransactionNumber = [Transaction].TransactionNumber
AND TransactionEntry.StoreID = [Transaction].StoreID
LEFT JOIN Item WITH (NOLOCK)
ON TransactionEntry.ItemID = Item.ID
LEFT JOIN Department WITH(NOLOCK)
ON Item.DepartmentID = Department.ID
LEFT JOIN Category WITH(NOLOCK)
ON Item.CategoryID = Category.ID
LEFT JOIN Supplier WITH(NOLOCK)
ON Item.SupplierID = Supplier.ID
LEFT JOIN WGPadres WITH(NOLOCK)
ON Item.ParentItem = WGPadres.Id
LEFT JOIN WGQtyCD WITH(NOLOCK)
ON Item.Id = WGQtyCD.ItemId
LEFT JOIN Store ON TransactionEntry.StoreID = Store.ID
<END>
SelCriteria = ""
GroupBy = "Item.ItemLookupCode"
SortOrder = "Depto, ItemDescription"
End ReportSummary
//--- Title Rows ---//
Begin TitleRow
Text = "<Store Name>"
Font = "Arial"
FontBold = True
FontSize = 16
Color = "Blue"
End TitleRow
Begin TitleRow
Text = "<Report Title>"
Font = "Arial"
FontBold = True
FontSize = 12
Color = "Black"
End TitleRow
Begin TitleRow
Text = "Generated On <Report Date>"
Font = "Arial"
FontBold = True
FontSize = 10
Color = "Black"
End TitleRow
//--- Filters ---//
Begin Filter
FieldName = "[Transaction].Time"
FilterOp = reportfilteropBetween
FilterLoLim = "15/01/2010"
FilterHilim = "16/03/2010"
FilterNegated = False
FilterConnector = reportfilterbooleanconAND
End Filter
//--- Columns ---//
Begin Column
FieldName = "Promedio"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Promedio"
VBDataType = vbDouble
Formula = "SUM(TransactionEntry.Quantity)/3"
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 990
GroupMethod = groupmethodNone
ColFormat = "#"
ColAlignment = flexAlignLeftCenter
End Column
Begin Column
FieldName = "VtaPromedio"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Venta Prom"
VBDataType = vbCurrency
Formula = "SUM(TransactionEntry.Price * (TransactionEntry.Quantity/3))"
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1425
GroupMethod = groupmethodSum
ColFormat = ""
End Column
el texto es este mira...
nota: no es .txt es .qrp
Mi caso es que quiero que me muestre que numero hay despues del / que son la cantidad de meses y cuando me toque cambiarlo me muestre cuantos meses hay y pueda cambiarlo a lli mismo.
//--- Report Summary --- //
Begin ReportSummary
ReportType = reporttypeSales
ReportTitle = "Reporte Ventas Compras"
PageOrientation = pageorientationPortrait
WordWrap = False
ShowDateTimePicker = True
OutLineMode = True
Groups = 0
GroupDescription = ""
DisplayLogo = True
LogoFileName = "Walter Galvez"
ProcedureCall = ""
PreQuery1 = ""
PreQuery2 = ""
TablesQueried = <BEGIN>
FROM TransactionEntry WITH(NOLOCK)
INNER JOIN [Transaction] WITH(NOLOCK)
ON TransactionEntry.TransactionNumber = [Transaction].TransactionNumber
AND TransactionEntry.StoreID = [Transaction].StoreID
LEFT JOIN Item WITH (NOLOCK)
ON TransactionEntry.ItemID = Item.ID
LEFT JOIN Department WITH(NOLOCK)
ON Item.DepartmentID = Department.ID
LEFT JOIN Category WITH(NOLOCK)
ON Item.CategoryID = Category.ID
LEFT JOIN Supplier WITH(NOLOCK)
ON Item.SupplierID = Supplier.ID
LEFT JOIN WGPadres WITH(NOLOCK)
ON Item.ParentItem = WGPadres.Id
LEFT JOIN WGQtyCD WITH(NOLOCK)
ON Item.Id = WGQtyCD.ItemId
LEFT JOIN Store ON TransactionEntry.StoreID = Store.ID
<END>
SelCriteria = ""
GroupBy = "Item.ItemLookupCode"
SortOrder = "Depto, ItemDescription"
End ReportSummary
//--- Title Rows ---//
Begin TitleRow
Text = "<Store Name>"
Font = "Arial"
FontBold = True
FontSize = 16
Color = "Blue"
End TitleRow
Begin TitleRow
Text = "<Report Title>"
Font = "Arial"
FontBold = True
FontSize = 12
Color = "Black"
End TitleRow
Begin TitleRow
Text = "Generated On <Report Date>"
Font = "Arial"
FontBold = True
FontSize = 10
Color = "Black"
End TitleRow
//--- Filters ---//
Begin Filter
FieldName = "[Transaction].Time"
FilterOp = reportfilteropBetween
FilterLoLim = "15/01/2010"
FilterHilim = "16/03/2010"
FilterNegated = False
FilterConnector = reportfilterbooleanconAND
End Filter
//--- Columns ---//
Begin Column
FieldName = "Promedio"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Promedio"
VBDataType = vbDouble
Formula = "SUM(TransactionEntry.Quantity)/3"
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 990
GroupMethod = groupmethodNone
ColFormat = "#"
ColAlignment = flexAlignLeftCenter
End Column
Begin Column
FieldName = "VtaPromedio"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Venta Prom"
VBDataType = vbCurrency
Formula = "SUM(TransactionEntry.Price * (TransactionEntry.Quantity/3))"
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1425
GroupMethod = groupmethodSum
ColFormat = ""
End Column