473,657 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Picklist w/Snaking Columns? (Access 2k)

I've got a situation where the user is expanding nodes in a TreeView and below a
certain level, the child nodes become too numerous for them to deal with easily
on a straight-up sequential list.

What I'd like to do is populate a subform next to the tree view with the child
items presented in a denser format.

One essential feature of that presentation would be that individual items have
to be clickable - i.e. the user doubleclicks on an item and I make something
happen....

I'm thinking a series of snaking columns....idea lly, responsive to window size -
more columns if the user has the window sized wide, fewer columns if the window
is narrow.

Any way to do this in Access 2000? A report masquerading as a picklist, maybe?
--
PeteCresswell
Nov 13 '05 #1
6 1977
Per (Pete Cresswell):
Any way to do this in Access 2000? A report masquerading as a picklist, maybe?


I retract the "report" comment....dumb idea, since reports don't have click
events.

How about a subform whose text boxes are dynamically populated - or even
dynamically created....or maybe a compromise move where the off-the-shelf
subform has txtGeneric001 thru txtGeneric100 already in place and the calling
routine creates more txtGeneric....f ields as needed?
--
PeteCresswell
Nov 13 '05 #2
(Pete Cresswell) wrote:
Per (Pete Cresswell):
Any way to do this in Access 2000? A report masquerading as a
picklist, maybe?


I retract the "report" comment....dumb idea, since reports don't have
click events.

How about a subform whose text boxes are dynamically populated - or
even dynamically created....or maybe a compromise move where the
off-the-shelf subform has txtGeneric001 thru txtGeneric100 already in
place and the calling routine creates more txtGeneric....f ields as
needed?


Wouldn't a ListView provide this? I prefer not to use ActiveX controls myself,
but I believe that is the only control that supports what you're looking for.
This is essentially what the db window uses I believe.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #3
Per Rick Brandt:
Wouldn't a ListView provide this? I prefer not to use ActiveX controls myself,
but I believe that is the only control that supports what you're looking for.
This is essentially what the db window uses I believe.


Hadn't heard of such a control. I'll give it a try right now.
The dynamic textbox idea seems tb flawed in that I'd have to also dynamically
add event coding - and that doesn't sound like something doable w/in Access to
me.
--
PeteCresswell
Nov 13 '05 #4
(Pete Cresswell) wrote:
The dynamic textbox idea seems tb flawed in that I'd have to also dynamically
add event coding - and that doesn't sound like something doable w/in Access to
me.


It is possible to add controls to a form (when it is in design view, but
you can hide that fact from the user using docmd.echo false) and you can
have any property to those controls, including event coding. I did it,
(if I understand your statement).

If you can't get satisfactory results with the ListView (which I'm going
to examine again too), you can check whether MultiList and LiveAdd from
my site can help you in the direction of dynamic controls.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #5
Per (Pete Cresswell):
I'll give it a try right now.


Bingo!....

..View=2 does the trick and .SelectedItem.T ext/.Tag returns the data.

Thanks.
--
PeteCresswell
Nov 13 '05 #6
Per Bas Cost Budde:
If you can't get satisfactory results with the ListView ...


It's working pretty well so far. I've got my initial requirment met: i.e. a
clickable list that'll give me a recordID and a record type.

Next thing will be a multi-select picklist with checkboxes as the selection
vehicle. Haven't seen anything explicit yet, but I'm pretty sure I remember
reading a reference to checkboxes in the context of a ListView.

--
PeteCresswell
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2321
by: Mike Brashars | last post by:
Hi all, I have been searching for a week and am unable to find and example to "Populate picklist from directory and return file name". I have a php script that reads a log file and plots a graph. Right now, the log name is hard coded. The logs are archived each day in the form of say ddmmyy.log and I would like to put a drop down list in the script that would allow my script to run off the "log" picked or default to the current "hard...
2
2848
by: DFS | last post by:
Main report contains one large graph in the detail band (no detail records). Subreport snakes just fine (5 columns) when opening by itself. When I add it to the main report (in the report footer), it shows just 1 column and spills over to 5 pages. I've tried moving the subreport to the detail band: no go. All bands/objects are set to Grow and Shrink. Any ideas?
3
2725
by: strauss.sean | last post by:
To all: Here's an interesting one: I have a query that produces 56 (!!) columns of data. The first three columns are "to repeat at left", as can be selected in Excel at File --> Page Setup --> Sheet tab. That is, the first page prints (say) 10 columns. The second page prints the first three columns, and the next seven columns, and so on. Each page would do this until all columns are printed. Access gives a limit to the amount of...
3
1546
by: stawicki | last post by:
I have a report that uses snaking columns to generate four 2.5 inch columns in landscape mode. It is used to print a double-sided document whch is then cut down the middle and bound. The problem is that I need to be able to make the spacing between columns 2 and 3 larger than between 1 and 2 or 3 and 4, so that there is sufficient room for the binding. I hoped it might be possible to modify the locations of the columns during the...
4
2114
by: Mike | last post by:
I encountered this problem for the first time today while trying to add some columns to a query from a linked DBASEIII file. The new columns that I added on the design grid do not show up on the data sheet, even though the box is checked. I've already done some trouble shooting, making sure the box is checked, making sure that the columns aren't hidden. Also, I went to the toolbar menu, under tools and then options, and checked the...
0
2589
by: Andrus | last post by:
SWF ComboBox dropdown menu first item selection must open picklist. For this I use the following code: protected override void OnSelectedIndexChanged(System.EventArgs e) { if (SelectedIndex != 0 || DropDownStyle != ComboBoxStyle.DropDown) { base.OnSelectedIndexChanged(e); return; } OpenPickList(); }
0
2992
by: JFKJr | last post by:
I have an excel file, which has columns C and D grouped together, I am trying to delete blank columns and rows from the excel file, ungroup the columns and import the file to MS Access using Access VBA code. The following is the Access VBA code I used to delete blank columns and rows in the excel file. But, unfortunately, the resultant excel file still has two columns (C and D) grouped together, so when I am importing the file to MS Access,...
5
8986
by: appmab | last post by:
In Access 2003 I have a multi-column report (3 columns). I would like to get 1 continuous vertical line from the top of the page to the bottom of the page, between columns 1 and 2 and between columns 2 and 3. Is there anyway to create this line? If so, is there any way to print this line only if there would data in the column to the right of the line?
4
1541
by: appmab | last post by:
In Access 2003 reports, I have a multi-column report. The reports lists names and addresses. The data is grouped by the first letter of the last name. If the letter changes in the middle of a column, the next 'group' starts at the top of the next column instead of just continuing down the page. What I want is A Abbot Adams ... Akins
0
8838
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8613
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7351
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.