Jump to content

Fateh Bouchair

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

478 profile views

Fateh Bouchair's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I need to check if value of 1st col is 'X' then goto col2 else col3 if I change the value of the 1st col if I do check from dataset 1col show always old value
  2. Hello The current behavior of the Unidbgrid is use TAP to navigate between columns, I want navigate with ENTER and and focus a columns on edit mode, depending the value of other column. Do you have any idea?? Thanks.
  3. Hello do you have solution for change FOCUS using the keyboard Key -> (right arrow)? Thanks.
  4. الان فقط عرفتك استاذ اسامة انا تتبعتك على اليوتوت في سلسلة الفاست روبورت انا هنا ابحث على طريقة لاجعل unidbgrid in editmode when i enter in a colmun شكرا مسبقا
  5. I have de same probleme I try your solution but I dont undestand what is cdsPrecos.Edit;
  6. I m unable to dowload your attachments...!
  7. سلام محمد كيف عالجت هذه المشكلة من فظلك
  8. procedure UniDBGrid1ColumnSummary(Column: TUniDBGridColumn; GroupFieldValue: Variant); begin if Column.FieldName <> 'Your field to display count' then begin if Column.AuxValue = NULL then Column.AuxValue:=0.00; Column.AuxValue := Column.AuxValue + (Column.Field.AsFloat) end end; procedure UniDBGrid1ColumnSummaryResult(Column: TUniDBGridColumn; GroupFieldValue: Variant; Attribs: TUniCellAttribs; var Result: string); var I : Integer; F : Real; begin if SameText(Column.FieldName, 'Your field to display count') then begin I := UniMainModule.your dataset.RecordCount; Result := IntToStr(I); Attribs.Font.Style:=[fsBold]; Attribs.Font.Color:=clGreen; end else begin F := Column.AuxValue; Result := FormatFloat('#,0.00 ', F); Attribs.Font.Style:=[fsBold]; Attribs.Font.Color:=clNavy; Column.AuxValue:=NULL; end; end;
×
×
  • Create New...