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

How should I handle code table lookups?

We are moving a rather large application to the VB.NET platform.
This application has a ton of table lookups.
ie. code & description or code, category & description or code, class,
category & description

Most of the users know the more common codes and will just enter them
but occasionally will need to look these codes up (especially when a
temp is using the system!!).

How would the VB.NET veterans handle this?
Which control(s) would you use?
Nov 20 '05 #1
5 4915
If they are refereneced a lot, I'd load them into datatables stored in a
Module or a class that has them as Stored properties. Since lookups don't
change a lot, you don't have to worry about the data getting stale. If it
does change a lot, periodically refresh the tables. You can bind Grids,
Comboboxes and everything else to these tables and if you store them in a
module, you'll greatly minimize trips to the DB.

Hopefully this helps, but if not, let me know.

Cheers,

Bill
"AnAnimal" <An******@somewhere.net> wrote in message
news:bb********************************@4ax.com...
We are moving a rather large application to the VB.NET platform.
This application has a ton of table lookups.
ie. code & description or code, category & description or code, class,
category & description

Most of the users know the more common codes and will just enter them
but occasionally will need to look these codes up (especially when a
temp is using the system!!).

How would the VB.NET veterans handle this?
Which control(s) would you use?

Nov 20 '05 #2
Thanks Bill!

but I was actually looking for the GUI.
The actual form control(s) that would show all the information to the
user that will aid them with the lookup process.
On Thu, 11 Sep 2003 12:05:14 -0400, "William Ryan"
<do********@comcast.nospam.net> wrote:
If they are refereneced a lot, I'd load them into datatables stored in a
Module or a class that has them as Stored properties. Since lookups don't
change a lot, you don't have to worry about the data getting stale. If it
does change a lot, periodically refresh the tables. You can bind Grids,
Comboboxes and everything else to these tables and if you store them in a
module, you'll greatly minimize trips to the DB.

Hopefully this helps, but if not, let me know.

Cheers,

Bill
"AnAnimal" <An******@somewhere.net> wrote in message
news:bb********************************@4ax.com.. .
We are moving a rather large application to the VB.NET platform.
This application has a ton of table lookups.
ie. code & description or code, category & description or code, class,
category & description

Most of the users know the more common codes and will just enter them
but occasionally will need to look these codes up (especially when a
temp is using the system!!).

How would the VB.NET veterans handle this?
Which control(s) would you use?


Nov 20 '05 #3
Hello,

"AnAnimal" <An******@somewhere.net> schrieb:
We are moving a rather large application to the
VB.NET platform.
This application has a ton of table lookups.
ie. code & description or code, category &
description or code, class, category & description

Most of the users know the more common codes and
will just enter them but occasionally will need to look
these codes up (especially when a temp is using the system!!).


If you are referring to a database solution:

This is a VB.NET language group. Notice that you will have a better
chance to get an answer if you post to the ADO.NET newsgroup in future:

news://msnews.microsoft.com/microsof...amework.adonet

Web interface:

http://msdn.microsoft.com/newsgroups...amework.adonet

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4
No I am not looking for a database solution.

I am looking for a form control or group of form controls that VB.NET
veterans would use to accomplish a table lookup.

Our solution would have been a multi-column combobox. But this control
does not exist in native VB.NET. We have a working solution by using a
fixed pitch font and spacing out the dropdown information to look like
columns.

I was hoping for a few other ideas of how to display this information
to the user.
On Thu, 11 Sep 2003 18:28:58 +0200, "Herfried K. Wagner [MVP]"
<hi*******@m.activevb.de> wrote:
Hello,

"AnAnimal" <An******@somewhere.net> schrieb:
We are moving a rather large application to the
VB.NET platform.
This application has a ton of table lookups.
ie. code & description or code, category &
description or code, class, category & description

Most of the users know the more common codes and
will just enter them but occasionally will need to look
these codes up (especially when a temp is using the system!!).


If you are referring to a database solution:

This is a VB.NET language group. Notice that you will have a better
chance to get an answer if you post to the ADO.NET newsgroup in future:

news://msnews.microsoft.com/microsof...amework.adonet

Web interface:

http://msdn.microsoft.com/newsgroups...amework.adonet


Nov 20 '05 #5
Hello,

"AnAnimal" <An******@somewhere.net> schrieb:
I was hoping for a few other ideas of how to display this information
to the user.


Sorry, I misunderstood your question.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #6

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

Similar topics

2
by: John Mudd | last post by:
I must be missing something here. It's clearly faster to lookup an item directly in a dictionary than to scan through a list. So when I have a large lookup table I always load it in the form of a...
8
by: Rob Mazur | last post by:
Hi. I'm trying to create a query that pulls information from 3 seperate tables. Here's how I want it to work: User is prompted for SSN Table 1: SSN Name Gender
8
by: Steve Jorgensen | last post by:
Hi folks, I'm posting this message because it's an issue I come up against relatively often, but I can't find any writings on the subject, and I haven't been able to figure out even what key...
1
by: Colin | last post by:
Question#1: Many of my forms have combo boxes (e.g. CustomerID). The combo box looks up CustomerName from CustomerID in the Customer table. Am I better off including CustomerName in my query...
3
by: Gigi.com | last post by:
Hi All. I need some help trying to pull prices from a price matrix. Here's an example: >>>> 1000 1500 2000 2500 ----------------------------------------- 1000 ¦ 10.20 ...
4
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...
0
by: gerry | last post by:
I want to populating an asp list box from a simple access lookup list (single column not a table.)I don't want to create tables just for lookups as the values will be descriptive only and will...
5
by: agarwasa2008 | last post by:
Hi, I have a linked table called tbltest and some bounded forms (which add, update, delete records) that were created using that linked table. For some necessary reasons I had to create another...
23
by: raylopez99 | last post by:
A quick sanity check, and I think I am correct, but just to make sure: if you have a bunch of objects that are very much like one another you can uniquely track them simply by using an ArrayList...
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
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...
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
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...
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...
0
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
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,...
0
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...

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.