Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Report Control ComboBox Mixed
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control ComboBox Mixed

 Post Reply Post Reply
Author
Message
energypf View Drop Down
Newbie
Newbie
Avatar

Joined: 13 October 2009
Location: Italy
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote energypf Quote  Post ReplyReply Direct Link To This Post Topic: Report Control ComboBox Mixed
    Posted: 12 May 2010 at 9:37am
Hi, I want to know if you can have in a Combo Box Control Reports Mixed style to Access 2010 to create the table structure. I need to know with some urgency if you can configure the Report Control for this type of work. I am attaching a picture of how I wish. That is a combo with constrants or free text, and if the text corresponds in part to select it as a constraint in the image.
 
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2010 at 3:55am
Hi,
 
You want combobox for every item in "Tipo dati" ?
 
 
Set Column = wndReportControl.Columns.Add(1, "Tipo dati", 100, True)
      Column.EditOptions.Constraints.Add "Testo", 0
      Column.EditOptions.Constraints.Add "Memo", 1
      Column.EditOptions.Constraints.Add "Numerico", 2
      Column.EditOptions.Constraints.Add "Data/ora", 3
      Column.EditOptions.Constraints.Add "Valuta", 4
      Column.EditOptions.Constraints.Add "Numerazione automatico", 5
      ... add as many constraints as needed ...

      Column.EditOptions.ConstraintEdit = True
      Column.EditOptions.AddComboButton True
 
 
 
Hope this helps...
 
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
energypf View Drop Down
Newbie
Newbie
Avatar

Joined: 13 October 2009
Location: Italy
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote energypf Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2010 at 8:32am
Thanks for the help, but I managed to do so. What I ask is a combo when I go to write for example "Te" as in the picture, I go to select the constraint "Testo" Let me know if you can get a combo with these characteristics. Thanks
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2010 at 2:55am
Hi,
 
OK, I didn't know...
 
As far as I can see you are only able to select a constraint beginning with the character you typed...
If you set wndReportControl.AllowEdit = True and Column.EditOptions.ConstraintEdit = True you are able to type (for example) "t" and the first constraint, with character "t", will be selected. If you have a second constraint also beginning with "t", it doesn't get selected if you would type the second character. Strangly enough if you type a "t" again it will select the next constraint  
 
I know this isn't what you are looking for, maybe CJ has a solution for this? Just write to support or submit ticket and maybe they are able to fix this.
 
Good luck
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
energypf View Drop Down
Newbie
Newbie
Avatar

Joined: 13 October 2009
Location: Italy
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote energypf Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2010 at 3:24am
Thank you for your interest in my problem. How can I do differently?
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.