Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Add Check Box in Data Bind Mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add Check Box in Data Bind Mode

 Post Reply Post Reply
Author
Message
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Add Check Box in Data Bind Mode
    Posted: 01 September 2010 at 6:49am
Hi,
 
  Please help me how to add check box to a column in Recordset Data bind mode.?
 
 I have a column in the oracle database having values 0 for false and 1 for true.
 
 Thanks in Advance..!
 
 
 
 
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2010 at 6:25am
I tried and got an idea how to do this....! It works....!
 
 
ReportControl1.SetCustomDraw xtpCustomBeforeDrawRow
 
 
Private Sub ReportControl1_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)
If Not Row.GroupRow Then
   'Column 20  I need check box
   Row.record.Item(20).HasCheckbox = True
          If Row.record.Item(20).Value = 1 Then
             Row.record.Item(20).Checked = True
          Else
            Row.record.Item(20).Checked = False
          End If
End If
End Sub
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.