473,434 Members | 1,389 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,434 software developers and data experts.

LISTBOX HELP

Can anyone please help me with this. I do not know how to go about creating
this.

Fields in table: RatesMaster

Publication
Color
Base_Rate
Add-on

Values of Publication: TOIH, TOIM, TOID, ETM
Color: BW and 4C
Base Rate for BW: TOIH = 140, TOIM = 1500, TOID = 850, ETK = 200
Base Rate for 4C: TOIH = 200, TOIM = 2000, TOID = 900, ETK = 300
Add-on Rate for BW: TOIH = 100, TOIM = 1400, TOID = 650, ETK = 120
Add-on Rate for 4C: TOIH = 150, TOIM = 1800, TOID = 800, ETK = 180

I want to create a listbox, wherein a person should be allowed to select
various publication & color.

After the selection is made, the system should calculate the total rate.
Among the options selected the application should take the highest Base rate
among the centres selected as it is and should take the Add-on rate for the
other publications & centre and then display the total.

For e.g. if a person selects Publication TOIH, TOIM, TOID and the color as BW
then the logic is 100 + 1500 + 800 + 180

i.e. among the publications selected TOIM has the highest base value and the
other are lower than that, so the Add-on Rate is added to it.

I hope the above is clear and you are able to understand what I am looking
for.

Can anyone please help me with this. I do not know how to go about creating
this.

Thanks & Regards
Suresh

--
K. Suresh
email: k.******@timesgroup.com
su********@gmail.com
Nov 27 '05 #1
4 1428
Hi Suresh
Im sorry but your table structure dose not make sence to me
1. Sureshkumar
Nov 28, 3:19 am show options

Newsgroups: comp.databases.ms-access
From: "Sureshkumar" <u16142@uwe> - Find messages by this author
Date: Sun, 27 Nov 2005 14:19:14 GMT
Local: Mon, Nov 28 2005 3:19 am
Subject: LISTBOX HELP
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

Can anyone please help me with this. I do not know how to go about
creating
this.
Fields in table: RatesMaster
Publication
Color
Base_Rate
Add-on
Values of Publication: TOIH, TOIM, TOID, ETM
Color: BW and 4C
Base Rate for BW: TOIH = 140, TOIM = 1500, TOID = 850, ETK = 200
Base Rate for 4C: TOIH = 200, TOIM = 2000, TOID = 900, ETK = 300
Add-on Rate for BW: TOIH = 100, TOIM = 1400, TOID = 650, ETK = 120
Add-on Rate for 4C: TOIH = 150, TOIM = 1800, TOID = 800, ETK = 180

Values for publications is ok 4 values
For colours you have 2 values *BW and 4C
then you have difrent values based on the above selected
do you have seperate tables for Color to hold these values
Draw the table on a peace of paper and see if it make sence I think
that you need to think of how the table works

Nov 28 '05 #2
what is the centre

Nov 28 '05 #3
Table Structure

Publication Text
Color Text
Base_Rate Number
Add-on Number

Hope the above helps.

Suresh

Sureshkumar wrote:
Can anyone please help me with this. I do not know how to go about creating
this.

Fields in table: RatesMaster

Publication
Color
Base_Rate
Add-on

Values of Publication: TOIH, TOIM, TOID, ETM
Color: BW and 4C
Base Rate for BW: TOIH = 140, TOIM = 1500, TOID = 850, ETK = 200
Base Rate for 4C: TOIH = 200, TOIM = 2000, TOID = 900, ETK = 300
Add-on Rate for BW: TOIH = 100, TOIM = 1400, TOID = 650, ETK = 120
Add-on Rate for 4C: TOIH = 150, TOIM = 1800, TOID = 800, ETK = 180

I want to create a listbox, wherein a person should be allowed to select
various publication & color.

After the selection is made, the system should calculate the total rate.
Among the options selected the application should take the highest Base rate
among the centres selected as it is and should take the Add-on rate for the
other publications & centre and then display the total.

For e.g. if a person selects Publication TOIH, TOIM, TOID and the color as BW
then the logic is 100 + 1500 + 800 + 180

i.e. among the publications selected TOIM has the highest base value and the
other are lower than that, so the Add-on Rate is added to it.

I hope the above is clear and you are able to understand what I am looking
for.

Can anyone please help me with this. I do not know how to go about creating
this.

Thanks & Regards
Suresh


--
K. Suresh
email: k.******@timesgroup.com
su********@gmail.com

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200512/1
Dec 8 '05 #4
Dear Peter,

I'm sorry I have not written it clearly. Pls read the following so that you
can interpret what I need.

Fields in table: RatesMaster

Publication
Color
Base_Rate
Add-on

Values of Publication: TOIH, TOIM, TOID, ETM
Color: BW and 4C
Base Rate for BW: TOIH = 140, TOIM = 1500, TOID = 850, ETK = 200
Base Rate for 4C: TOIH = 200, TOIM = 2000, TOID = 900, ETK = 300
Add-on Rate for BW: TOIH = 100, TOIM = 1400, TOID = 650, ETK = 120
Add-on Rate for 4C: TOIH = 150, TOIM = 1800, TOID = 800, ETK = 180

I want to create a form, wherein a person should be allowed to select various
publication & color.

After the selection is made, the system should calculate the total rate.

Among the options selected the application should take the highest Base rate
among the publications selected as it is and should take the Add-on rate for
the other publications & centre and then display the total.

For e.g. if a person selects Publication TOIH, TOIM, TOID and the color as BW
then the logic is 100 + 1500 + 800 + 180

i.e. among the publications selected TOIM has the highest base value and the
others are lower, so the Add-on Rate is added to it.

I hope the above is clear and you are able to understand what I am looking
for. In all I will be having sixty publications.

I do not know how to go about creating this. Please Help

Thanks & Regards
Suresh

--
K. Suresh
email: k.******@timesgroup.com
su********@gmail.com

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200512/1
Dec 8 '05 #5

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

Similar topics

17
by: amber | last post by:
Hello. Can someone tell me what I may be doing wrong here? I'm using the code (lboxRP is a listbox): Dim newRPindex As Integer newRPindex = Me.lboxRP.FindString(RP)...
3
by: Paul T. Rong | last post by:
I have a listbox (of product names) control on my form. I want to pass the selected item (a product name) to a subform, and the product unitprice should apear automatically next to the product name...
5
by: Melissa Cowan | last post by:
I am using Access 2000. I have the Developer's handbook and got the code for the mulit select listbox from there. It sends the selected value to another listbox, lstselected. What I need to do is...
8
by: Oddball | last post by:
Ok - I have a ListBox control and I'm ready to write my own DrawItem event handler. What I want to draw as the item is another control. I have created a user control that I would like to list in...
6
by: Chris Leuty | last post by:
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset...
3
by: George | last post by:
Sub ExcelToListBox() Dim xRange As Object Dim ary Dim xValue As String xRange = oXL.Range("A1:A9") 'has letters A-H ary = xRange.value xValue = ary(3, 1) 'xValue = C...
2
by: tangokilo | last post by:
Hello and thanks for your help, I have the following Listbox created in VisualStudio 2003 designer, desiring to select multiple entries from that list: -------------------------------...
0
by: David J | last post by:
Hi, I am strugling with the propertygrid and a listbox. I am using the universaldropdowneditor from the codeproject (code below). However I am populating the listbox via a datasource. The problem...
3
by: Ali Chambers | last post by:
Hi, I have created a listbox called "dtlist1" on my VB.NET form. I call a procedure as follows: Private Sub openfile(flname As String) dtlist1.Items.Clear() etc..
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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,...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.