HighTechTalks DotNet Forums  

How To - Multiple Entries

Dotnet Framework (WinForms) microsoft.public.dotnet.framework.windowsforms


Discuss How To - Multiple Entries in the Dotnet Framework (WinForms) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Brian P. Hammer
 
Posts: n/a

Default How To - Multiple Entries - 02-08-2005 , 11:32 PM






All - I have a form that tracks values and modifications to aircraft. On each form, the user has the ability to calculate 6 aircraft at a time. I use a grid to store the modification; grid1, grid2....

In each grid there could be different or the same data. I export this data to an excel sheet. My problem is, I don't want to repeat the data in a description column. How do I store the string and decimal and then search to see if the string exists and if it does, just add the decimal?

Data Example
Aircraft1
EGWPS Yes $80,000
Thrust Reverser Yes 125,000
Engine Program Yes 300,000

Aircraft2
TCAS Yes 250,000
EGWPS Yes 45,0000
Thrust Reverser Yes 25,000
EVS Yes 450,000


Current Report Format
Aircraft1 Aircraft2
Value 1.1M 7.5M
Modifications:
EGWPS 80,000
Thrust Reverser 125,000
Engine Program 300,000
TCAS 250,000
EGWPS 45,000
Thrust Reverser 25,000
EVS 450,000

What I want
Aircraft1 Aircraft2
Value 1.1M 7.5M
Modifications:
EGWPS 80,000 45,000
Thrust Reverser 125,000 25,000
Engine Program 300,000 0
TCAS 0 250,000
EVS 0 450,000



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.