473,473 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

edit a list box

158 New Member
On a form how can i have a user change the value of list box. right now i have a two column listbox and i need them to change it without going and messing with the table? Any ideas?

Thanks
Matt
Apr 23 '08 #1
4 2552
missinglinq
3,532 Recognized Expert Specialist
Sorry, Matt! If the listbox is based on a table, you'll have to "mess with the table" if you want to change it! A little more explanation might be in order.

Linq ;0)>
Apr 23 '08 #2
NeoPa
32,556 Recognized Expert Moderator MVP
Matt, I'm afraid you'll have to be a bit clearer about what you want. There are so many possible interpretations of your question ("changing" a ListBox?).

PS. Snap :D
Apr 23 '08 #3
Jollywg
158 New Member
Matt, I'm afraid you'll have to be a bit clearer about what you want. There are so many possible interpretations of your question ("changing" a ListBox?).

PS. Snap :D
I think that what I'm asking for isn't possible, but what I'm trying to do is take a list box with two columns, and i want the user to be able to change the values of a column without going into the table ie:

List Box
______
A 1
B 2
C 4 <- the user needs to change the 4 to a 3

I hope this is a little clearer?
Apr 23 '08 #4
NeoPa
32,556 Recognized Expert Moderator MVP
That's much clearer now, and you're absolutely correct in that a ListBox control is not able to update the data within it. It's essentially a Read Only control.

To manage the data a subform may be more appropriate for you.
Apr 23 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

25
by: dixie | last post by:
I have some code that adds new records into a table for each ID in a list box when a button on a form is clicked. This works fine. My problem now is that I wish to be able to edit all the records...
7
by: ritchie | last post by:
Hi, I am writing for some help with editing a linked list. I would be gratful if anybody has the time to take a look at this. I am trying to edit a node by entering a date as a key. If an...
0
by: San Diego Guy | last post by:
Hi all! I have Datagrid. Within that datagrid I have a drop down list that I set up some values in (a "collection") I set up an edit command column on the datagrid and wrote simple code to get...
3
by: Tim::.. | last post by:
Can someone please tell me how I go about preselecting an item in a drop drown list when I click the Edit Command in a datagrid? I have tried the following but it doesn't work for me! I would...
0
by: Adam Knight | last post by:
Hi all, I have two nested DataLists. When I click edit in the parent list the edit comand executes and the required Edit Item Template is displayed. The child list is display in the...
2
by: P. Yanzick | last post by:
Hello, I am creating an edit template for a FormView control, changing one of the textboxes to a dropdown box. The dropdown will be populated from a simple table with the primary key, and a...
9
bhcob1
by: bhcob1 | last post by:
Hey guys, 'Update or CancelUpdate without AddNew or Edit' On my database i keep occasionly get this error when i try and edit a field, it is not everytime. It will be working fine and then this...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
1
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...
0
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...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.