473,320 Members | 2,073 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,320 software developers and data experts.

New Access User - Stuck on a simple problem...I think

Putting together a database for network equipment. I want to do one
simple thing and I can't figure it out. I want to make a form with a
Multiselect List box that has a bunch of switches in it. I want to be
able to select multiple switches in the List box. Then I want to have
another drop down box that lists a Software version that is common to
ALL of the boxes I selected. Then, I want to click next record, or
click a button or something and have each switch, with it's
corresponding software version put in the table as a seperate record...

What I've got going now isn't working. It makes one record and just
lists all the switches in the first field no matter if I select 2
switches or 3.

What am I doing wrong?

Nov 13 '05 #1
5 1462
I put the sample database at

http://www.advantexmail.net/~jamesc/...k/Switches.mdb if you want to
see how it's done. Very simple idea, but I can't figure out it's proper
implementation.

Nov 13 '05 #2
ja****@advantexmail.net wrote:
I put the sample database at

http://www.advantexmail.net/~jamesc/...k/Switches.mdb if you want to
see how it's done. Very simple idea, but I can't figure out it's proper
implementation.


Your URL is case sensitive! network should be Network.

Hang on, I'm looking at the sample.

--
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 #3
ja****@advantexmail.net wrote:
Putting together a database for network equipment. I want to do one
simple thing and I can't figure it out. I want to make a form with a
Multiselect List box that has a bunch of switches in it. I want to be
able to select multiple switches in the List box. Then I want to have
another drop down box that lists a Software version that is common to
ALL of the boxes I selected. Then, I want to click next record, or
click a button or something and have each switch, with it's
corresponding software version put in the table as a seperate record...

What I've got going now isn't working. It makes one record and just
lists all the switches in the first field no matter if I select 2
switches or 3.


So sorry, I can't read the sample. It is likely A2K or later, I have
only A97.

Let me try to answer from the dark.

You have this listbox, set to multiple select; that means you cannot get
its value anymore. You have to cycle the .ItemsSelected collection. Air
code:

dim item as variant
for each item in yourlistbox.itemsselected
dosomethingwith yourlistbox.itemdata(item)
next

--
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 #4
That's exactly what I want to do....make sure each itemselected gets
combined with the software version and entered as a seperate record in
a table. I'm going to go look at making a button and attach some code
similar to what you wrote. Now, I've never wrote any code so I'm
probably going to blow this thing up but it's worth a try since it's in
its early stages.

It's an Access 2003 database :-)

Nov 13 '05 #5


"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote:
So sorry, I can't read the sample. It is likely A2K or later, I have
only A97.


I looked for you. FYI, there are 3 tables, one form, and not yet a word of
VBA code in the entire DB.
Darryl Kerkeslager
Nov 13 '05 #6

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

Similar topics

5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
24
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> ...
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
24
by: Rob R. Ainscough | last post by:
VS 2005 I have: ClickOnce deployment User's that hate and or don't want to use an IE Client (don't blame them) I don't see how ASPX web pages are going to survive? With .NET 2.0 and clickonce...
2
by: egoldthwait | last post by:
I need to convert a 17mb access 2000 db to Oracle and house it in a Citrix farm. The issue: we have never converted an Access Db to Oracle but can probably use Oracle's Workbench to assist with...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
6
by: onnodb | last post by:
Hi all, While working on an Access UI to a MySQL database (which should be a reasonable, low-cost, flexible interface to the DB, better than web-based, much less costly than a full-fledged .NET...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.