Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ListBox doesn't show grids

Posted on 2012-12-27
11
240 Views
Last Modified: 2013-01-23
I have another mystery.  I have a listbox, and the users want to have grid lines between the records.  Here is a screenshot of the list box, and the properties box.  I have the Gridlines all set to Solid.  Why aren't I seeing them???
0
Comment
Question by:sharpapproach
11 Comments
 
LVL 26

Expert Comment

by:jerryb30
ID: 38724612
Screenshot?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724697
Listboxes do not display gridlines.

Sorry...
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724724
It's strange, but I've never figured out why the listbox control has GridLine properties, because values in those properties don't seem to accomplish anything.

If you need lines between the records of a listbox, consider creating a continuous subform and using it instead.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724795
<It's strange, but I've never figured out why the listbox control has GridLine properties, because values in those properties don't seem to accomplish anything.>
Same here.

My guess is that "GridlineStyle/GridlineWidth"
1. Mean something that we have yet to figure out...?
2. Meant something "in the old days", and is only still around for compatibility?
3. Are a cruel joke...?

Googling now for any insight...

Jeff
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724816
sharpapproach ,
Go with fyed's solution if the listbox is for display purposes only.

But if it is needed to make multiple (possibly non-contiguous) selections, then you may be stuck here.

You could research using a 'GridView' VB control though...
But this will require an active x control to be installed on each machine, and will be a "challenge" to program things like multiple selections.

JeffCoachman
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724831
If you need to make multiple selections, consider adding a field (IsSelected) with a Yes/No datatype to the table that is used for the selections.  Then you can add a checkbox to the continuous subform for selecting multiple, non-contiguous values.
0
 

Author Comment

by:sharpapproach
ID: 38724868
sorry.... here is a screenshot
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724908
screenshot?
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38725023
<If you need to make multiple selections, consider adding a field (IsSelected) with a Yes/No datatype to the table that is used for the selections.  Then you can add a checkbox to the continuous subform for selecting multiple, non-contiguous values. >
Great alternative...

fyed, I'll leave this to you now...
;-)

Jeff
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38725045
Jeff,  Have a Happy New Year.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38725075
Thanks,

You too, ... and be safe
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question