Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2614
  • Last Modified:

Janus Grid displays blank field when using combo box

I am using Janus Gridex 2000 for data entry into an ACCESS database.  I created one grid, and placed another gridex control to act as a dropdown for a combo box cell on the first.  The combo box (on the first control) works, and I can see (and select) items.  Unfortunately, the selected item never appears in the box.  It is never visible for the user.  Does anyone have a code snippet (or know where to get one) that would fill in all the combo boxes on loading and updating?  Thanks.
0
tsicks
Asked:
tsicks
  • 5
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Can you see the combo items? In other words, do you see the items you've filled the second grid control with?
0
 
tsicksAuthor Commented:
Yes.  They appear as they should.  I did not check to make sure the selected item was being saved in the record, but I am pretty sure that it was.  
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Is the grid bound? If so, what is the EditType of the column that houses is giving you troubles? You can check by double clicking the grid, selecting Columns in the left-side image list, selecting the column in the combo at the top of the right-side page and then clicking Format. The EditType should be EditCombo.

The grid also ships with several sample files ... did you check those?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
tsicksAuthor Commented:
The grid is bound, and the EditType was set to jpexEditCombo.  I am not sure if updating the selection (to make it visible) is a "somewhat automatic" feature of the grid.  If so, I am probably failing to set some property to True or False.  However, I looked on the Janusys Forum, and I noticed that others had the same problem.  Unfortunately, there was not a good answer there.  

I have not looked at the sample files...mostly because I didn't pay close enough attention to realize there were any.  I'll do that now and let you know if I find the answer.
0
 
tsicksAuthor Commented:
I looked at the combo box example...which is working as I would like my grid to work.  I did a quick comparison regarding properties between the two, but I didn't find anything really different.  I'll keep working with the example in hopes of the solution.  Am I correct that the function I am seeking is built into the grid...that it is only a property (or two or three) set incorrectly?
0
 
tsicksAuthor Commented:
Okay.  I found one (major?) difference.  The combo box example has the boundcolumnindex in the dropdown control set as the same name in the main control.  For example, the column key in the main control is SupplierID, and the boundcolumnindex for the second GridEX is also SupplierID.  Right now, I have a boundcolumnindex of IDENT with a column key of something different...say Location.   Is that significant, or do you think I should keep searching?
0
 
tsicksAuthor Commented:
I should be good to go.  Thanks again for the help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now