473,383 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Drop down table

Hi.

I have a table containing a list of about 5000 numbers, and there is also in
existence one MSWord document for everyone of them numbers. I want to create
some sort of drop down menu (in a form) where when you click on each item in
the menu (consisting of the numbers) MSWord opens the document assosiated
with that number. Now it's the first part I'm curious about, the part with
opening Word is okay. Suggestions?

Vegard
Nov 12 '05 #1
4 4521
test
"Vegard H. Villmones" <vv******@c2i.net> wrote in message
news:5V*******************@news4.e.nsc.no...
Hi.

I have a table containing a list of about 5000 numbers, and there is also in existence one MSWord document for everyone of them numbers. I want to create some sort of drop down menu (in a form) where when you click on each item in the menu (consisting of the numbers) MSWord opens the document assosiated
with that number. Now it's the first part I'm curious about, the part with
opening Word is okay. Suggestions?

Vegard

Nov 12 '05 #2
"Vegard H. Villmones" <vv******@c2i.net> wrote in message news:<5V*******************@news4.e.nsc.no>...
Hi.

I have a table containing a list of about 5000 numbers, and there is also in
existence one MSWord document for everyone of them numbers. I want to create
some sort of drop down menu (in a form) where when you click on each item in
the menu (consisting of the numbers) MSWord opens the document assosiated
with that number. Now it's the first part I'm curious about, the part with
opening Word is okay. Suggestions?

Vegard


you mean a combobox or a multiselect listbox? populating a combobox
or a listbox with that many values is going to render your form pretty
unusable... you recognize that, right? I'd have an unbound textbox
that filtered the combo/listbox so I only got less than 20 values.
Otherwise, it's just a horrible design. Opening word is easy...
Nov 12 '05 #3
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf*************************@posting.google.co m...
"Vegard H. Villmones" <vv******@c2i.net> wrote in message news:<5V*******************@news4.e.nsc.no>...
I have a table containing a list of about 5000 numbers, and there is also in existence one MSWord document for everyone of them numbers. I want to create some sort of drop down menu (in a form) where when you click on each item in the menu (consisting of the numbers) MSWord opens the document assosiated with that number. Now it's the first part I'm curious about, the part with opening Word is okay. Suggestions?

you mean a combobox or a multiselect listbox?
I probably do yeah.
populating a combobox
or a listbox with that many values is going to render your form pretty
unusable... you recognize that, right?
I do I do.
I'd have an unbound textbox
that filtered the combo/listbox so I only got less than 20 values.
Otherwise, it's just a horrible design. Opening word is easy...


Anyways, I used a "list" to list all the numbers (with a query as source),
and on the doubleclick event word opens a document for the number dbl
clicked on. It doesn't look that pretty though. And the scrolling, in this
list, is kind of weird - if I drag the scroll bar to the bottom, it doesn't
go to the last record, instead it jumps up again (some 1/5 up), and I have
to drag it down like 5 times before it arrives at the bottom record.
Nov 12 '05 #4
"Vegard H. Villmones" <vv******@c2i.net> wrote in message news:<Ta*******************@news4.e.nsc.no>...
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf*************************@posting.google.co m...
"Vegard H. Villmones" <vv******@c2i.net> wrote in message

news:<5V*******************@news4.e.nsc.no>...
I have a table containing a list of about 5000 numbers, and there is also in existence one MSWord document for everyone of them numbers. I want to create some sort of drop down menu (in a form) where when you click on each item in the menu (consisting of the numbers) MSWord opens the document assosiated with that number. Now it's the first part I'm curious about, the part with opening Word is okay. Suggestions?

you mean a combobox or a multiselect listbox?


I probably do yeah.
populating a combobox
or a listbox with that many values is going to render your form pretty
unusable... you recognize that, right?


I do I do.
I'd have an unbound textbox
that filtered the combo/listbox so I only got less than 20 values.
Otherwise, it's just a horrible design. Opening word is easy...


Anyways, I used a "list" to list all the numbers (with a query as source),
and on the doubleclick event word opens a document for the number dbl
clicked on. It doesn't look that pretty though. And the scrolling, in this
list, is kind of weird - if I drag the scroll bar to the bottom, it doesn't
go to the last record, instead it jumps up again (some 1/5 up), and I have
to drag it down like 5 times before it arrives at the bottom record.


you might not want to requery the list until you've entered like 3-5
characters in the combobox. otherwise, your list is gonna requery
like mad and you're going to get too many values in it to make it
useful. Do something like check the length of the text entered in the
textbox andthen requery the listbox. That might make the thing more
useable... and if that doesn't work, take Trevor's advice and
influence it with a hammer...
Nov 12 '05 #5

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

Similar topics

5
by: Jim Bo | last post by:
Hi, I have a drop down menu that is being populated by a query to the access database ---- Code --- Skill needed <SELECT size="1" NAME="SkillType" VALUE="SkillType"> <OPTION>...
46
by: Kingdom | last post by:
In my data base I have a list of componet types e.g. type A - I have 8 off - type B I have 12 off etc. I'm using Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM Parts_Table") ...
2
by: kmnotes04 | last post by:
Is it possible to link one drop-down box to another? For example, if a name is chosen from a drop-down list, can another drop-down list then automatically display the person's office as a result of...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
2
by: tpaulson | last post by:
I have a couple of DIV's that I hide/display based on radio buttons. On the DIV's, I have multiple drop down boxes. The source shows that they are populated, but I can't make them drop down. Only...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
1
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the...
0
by: mjohnson0321 | last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of...
11
by: tokcy | last post by:
Hi everyone, I am new in php and ajax, i am facing the prob while i click on element of first drop down then in second dropdown all element showl come from database. I mean i have three dropdown 1....
3
by: phpmagesh | last post by:
Hi, I have a drop down in my page, what i will do with that drop down is i have a table in my database, which have values and this table will refer that ID and pick the name of that values and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.