473,785 Members | 2,841 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Lookup Table to select (or multi-select) for edit

I want to write a form control to lookup some tables fields from
database,
let users to select one record (or multi-select more records) under
win-form
environment for fill some fields of parent forms. Is datagrid control
support multi-select features? Is datagrid control support paging
feature to
access tables (because some tables has more than 100000 records!!)?
Has any
best ideas?
Nov 21 '05 #1
2 1574
Hi,

Yes the datagrid control supports mutiselect. No the
windows forms datagrid does not support paging.

I would limit the data i load from database. I can not see
a user needing 100000 records. If you load it in to a dataset all the data
will be in memory. I would query the database to get the data the user is
looking for.

Ken
-------------------
"abc my vclass" <my********@myc lass.com> wrote in message
news:eI******** ******@TK2MSFTN GP09.phx.gbl...
I want to write a form control to lookup some tables fields from
database,
let users to select one record (or multi-select more records) under
win-form
environment for fill some fields of parent forms. Is datagrid control
support multi-select features? Is datagrid control support paging
feature to
access tables (because some tables has more than 100000 records!!)?
Has any
best ideas?

Nov 21 '05 #2
Are here any sample code?


"Ken Tucker [MVP]" <vb***@bellsout h.net> ¦b¶l¥ó
news:e6******** ********@TK2MSF TNGP09.phx.gbl ¤¤¼¶¼g...
Hi,

Yes the datagrid control supports mutiselect. No the
windows forms datagrid does not support paging.

I would limit the data i load from database. I can not see a user needing 100000 records. If you load it in to a dataset all the data will be in memory. I would query the database to get the data the user is
looking for.

Ken
-------------------
"abc my vclass" <my********@myc lass.com> wrote in message
news:eI******** ******@TK2MSFTN GP09.phx.gbl...
I want to write a form control to lookup some tables fields from
database,
let users to select one record (or multi-select more records) under
win-form
environment for fill some fields of parent forms. Is datagrid control support multi-select features? Is datagrid control support paging
feature to
access tables (because some tables has more than 100000 records!!)?
Has any
best ideas?

Nov 21 '05 #3

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

Similar topics

2
2781
by: hedrew3 | last post by:
I have a query in of the form "select * from mytable where myfield is like '*ABC*' or like '*DEF*' or like "*GHI*'". The problem is that the list of items is growing, and I would like to place ABC, DEF, GHI, etc., into a lookup table instead. But then how do I do a join so that the wildcards are recognized? TIA Pete
4
2059
by: Paul | last post by:
Hi, When should I use a list (in table properties: like Ford;Mercedes;BMW;Audi ) and when should I use a lookup table?? And second question: IF I use a lookup table, should I always make a relation (1-to-many) in my relation scheme? Any help is greatly appreciated, I'm a bit puzzled.
1
3368
by: James | last post by:
I am used to VB6 but need to develop something in .Net. I need to create several bound combo-boxes which will use lookup tables to get their values. I created a form using the dataform wizard. As part of the setup, I specified a new dataset, which included the data & lookup tables. I also specified the relationships when required. I then added a combo box control to my form, following the instructions from
15
10875
by: Rob Nicholson | last post by:
Not really VB related but I'll try here first :-) Looking for a lookup table to match non-ASCII characters to their ASCII equivalent, if possible. For example, the "o with an umlaut" on top would be matched to "o". It's part of a search mechanism whereby if a user searches on bjorn it'll find the one with the accents as well. Cheers, Rob.
3
2291
by: dbuchanan | last post by:
Hello, (Windows forms - SQL Server) I fill my datagrid with a stored procedure that includes relationships to lookup tables so that users can see the values of the combobox selections rather than the key value that are stored in the table. It works well if the comboboxes are selected when the row is created.
2
1219
by: JK | last post by:
I have two linked tables. One with several million records that include "price paid". The second with price increments like "Between 1 and 100,000" and "Between 100001 and 200000" etc. Is there some way to link them so that I can sum and count by increment? Kinda like Excel's vlookup function with a "false" at the end so it looks up the next value?
5
4019
by: sensreview | last post by:
Hello, I need help in selecting a value from combo list thru one lookup table and update different table on MS access form. For eg; I have a lookup table of usernames, I need to use this lookup table in all my other forms to update different table selecting the username from my lookup table. I tried Docmd.runsql but unable to succeed.
5
12664
by: Andrus | last post by:
I'm creating a database Winforms application using VCS Express 2005 I have some large lookup tables (may be up to 500000 records) which contains name and id and are stored in sql server. I need to create single line combobox style control which: 1. Allows to type first characters in name 2. Auto-completes entered data by using first match 3. Allows to open picklist based by entered data and select name
4
6644
by: TinaF | last post by:
I want to set a default value in a table called "Quotes" for a field called "Source." The "Source" field uses a lookup table called "Source" which looks like this: Sourceabbrev Sourcename BX-MI BUILDERS EXCHANGE MI BX-OH BUILDERS EXCHANGE OH CNS-MI CONSTRUCTION NEWS SERVICE MI
1
1979
by: tellercb | last post by:
Hello everyone! I'm new here, so go easy on me ;-) I have a pretty good skillset with VBA for Excel, but now I'm venturing out into Access. So if the solution I'm looking for requires VBA (and I'm sure it will), a little extra TLC would be greatly appreciated. I have a table (AccessCodes) with three fields: AccessCode (PK), Available(Boolean), and ActivateDate. All AccessCode values are unique. I use this table as a lookup table for my...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10330
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
10153
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...
1
10093
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8976
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
4053
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
2
3654
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.