Click here to Skip to main content
15,911,711 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How To Sort DataGridView Pin
Baconbutty2-Jun-10 21:29
Baconbutty2-Jun-10 21:29 
QuestionLost_focus and save button. Pin
lemarshall2-Jun-10 16:51
lemarshall2-Jun-10 16:51 
AnswerRe: Lost_focus and save button. Pin
Dr.Walt Fair, PE2-Jun-10 17:15
professionalDr.Walt Fair, PE2-Jun-10 17:15 
GeneralRe: Lost_focus and save button. Pin
lemarshall2-Jun-10 17:32
lemarshall2-Jun-10 17:32 
AnswerRe: Lost_focus and save button. Pin
George B Gilbert2-Jun-10 17:17
George B Gilbert2-Jun-10 17:17 
GeneralRe: Lost_focus and save button. Pin
lemarshall2-Jun-10 17:32
lemarshall2-Jun-10 17:32 
GeneralRe: Lost_focus and save button. Pin
George B Gilbert2-Jun-10 19:03
George B Gilbert2-Jun-10 19:03 
GeneralRe: Lost_focus and save button. Pin
lemarshall3-Jun-10 2:40
lemarshall3-Jun-10 2:40 
Your right it is convoluted. Let me lay out part of the design specs. We are dealing with scrap material commodity selling. There will be 30-40 buyers/sellers working with the form and can make 20-30 buys/sells per hour. What makes it difficult is they want to top selling items from yesterday to show as the first item on the form today. In other words, if 3/8 inch rod traded more yesterday then today it needs to be at the top of the list. If today 5/8 inch rods sold the most then tomorow they need to be at the top of the list. So each day, the order in which the items show can change.

I can calculate total number of sales of each item and then fill the items into a label which has the name of the item and then in the labels .tag property I store the GUID for the item. Then I name each of the textboxes acrosss the screen based upon the item name.

Each item has 5 grades from Junk to New and it is possible that on one order the user can sell 20 joints of 3/8 inch rod Junk, 15 joints of 3/8 inch rod Good (B2) and 10 rods of 3/8 inch rod New.

That is why I thought the best reason is to store each entry into a text box on the Lost_focus event into a Material collection class and then save the items to the tables from that class when they click on the Save button which will also close the form and allow them to go on to the next order.

Anything anyone can come up with to make it easier will be greatly appreciated.

Larry
GeneralRe: Lost_focus and save button. Pin
George B Gilbert3-Jun-10 6:35
George B Gilbert3-Jun-10 6:35 
GeneralRe: Lost_focus and save button. Pin
lemarshall3-Jun-10 16:13
lemarshall3-Jun-10 16:13 
AnswerRe: Lost_focus and save button. Pin
Henry Minute3-Jun-10 4:22
Henry Minute3-Jun-10 4:22 
QuestionGenerating Error While Set the FontStyle Pin
Anubhava Dimri1-Jun-10 20:43
Anubhava Dimri1-Jun-10 20:43 
AnswerRe: Generating Error While Set the FontStyle Pin
Wayne Gaylard1-Jun-10 21:46
professionalWayne Gaylard1-Jun-10 21:46 
GeneralRe: Generating Error While Set the FontStyle Pin
Anubhava Dimri2-Jun-10 0:45
Anubhava Dimri2-Jun-10 0:45 
AnswerRe: Generating Error While Set the FontStyle Pin
walterhevedeich2-Jun-10 0:35
professionalwalterhevedeich2-Jun-10 0:35 
QuestionHow I search DataGridView with text column? Pin
Curious 20091-Jun-10 10:35
Curious 20091-Jun-10 10:35 
AnswerRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 10:48
sitebuilderLuc Pattyn1-Jun-10 10:48 
GeneralRe: How I search DataGridView with text column? Pin
Curious 20091-Jun-10 11:07
Curious 20091-Jun-10 11:07 
GeneralRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 11:17
sitebuilderLuc Pattyn1-Jun-10 11:17 
GeneralRe: How I search DataGridView with text column? Pin
Curious 20091-Jun-10 12:22
Curious 20091-Jun-10 12:22 
GeneralRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 12:27
sitebuilderLuc Pattyn1-Jun-10 12:27 
GeneralRe: How I search DataGridView with text column? Pin
elizas1-Jun-10 20:08
elizas1-Jun-10 20:08 
GeneralRe: How I search DataGridView with text column? Pin
Dave Kreskowiak2-Jun-10 2:36
mveDave Kreskowiak2-Jun-10 2:36 
QuestionWindows 7 setup Pin
Ayesha.Hafeez1-Jun-10 0:37
Ayesha.Hafeez1-Jun-10 0:37 
AnswerRe: Windows 7 setup Pin
DaveAuld1-Jun-10 1:16
professionalDaveAuld1-Jun-10 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.