Click here to Skip to main content
15,886,110 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: file not found: cs2.exe Pin
rizaky20118-Jun-12 18:26
rizaky20118-Jun-12 18:26 
QuestionDisabling external data connections when opening Excel. Pin
Aaron.Morrison5-Jun-12 14:27
Aaron.Morrison5-Jun-12 14:27 
AnswerRe: Disabling external data connections when opening Excel. Pin
Aaron.Morrison6-Jun-12 13:16
Aaron.Morrison6-Jun-12 13:16 
QuestionUse foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 3:21
Johan Hakkesteegt5-Jun-12 3:21 
AnswerRe: Use foreign key constraint with a loop ? Pin
Paul Conrad5-Jun-12 6:37
professionalPaul Conrad5-Jun-12 6:37 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 21:04
Johan Hakkesteegt5-Jun-12 21:04 
AnswerRe: Use foreign key constraint with a loop ? Pin
Dave Kreskowiak5-Jun-12 7:48
mveDave Kreskowiak5-Jun-12 7:48 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 20:38
Johan Hakkesteegt5-Jun-12 20:38 
It is awfully inefficient, hence the question. Smile | :)

In this scenario I need to create orders into an ERP system via a proprietary driver.
That means that I need to declare a new "order" object, and fill in all its properties. Some header data (customer name, and address, and such), and an unknown number of rows (product number, quantity, price, etc.). In addition I need to translate that same information into an email message.

So if I combine both header and row data into a single query, I would have to populate the header data of the order object over and over, for each row, or build in some kind of is-it-already-populated method. Somehow that does not seem very efficient (or elegant) either (I may very well be wrong of course).

For clarity, the header table will generally only contain between 1 and 10 records, the rows table however can contain anywhere between 1 and 150 records per header record. Eliminating the nested loop is therefore my main concern here.
My advice is free, and you may get what you paid for.


modified 6-Jun-12 3:03am.

AnswerRe: Use foreign key constraint with a loop ? Pin
woopsydoozy5-Jun-12 7:51
woopsydoozy5-Jun-12 7:51 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 20:56
Johan Hakkesteegt5-Jun-12 20:56 
QuestionAVI Display Problem Pin
Dr David Johnson PhD4-Jun-12 9:28
Dr David Johnson PhD4-Jun-12 9:28 
Questionvb2010os dev Pin
Emile the code master3-Jun-12 22:44
Emile the code master3-Jun-12 22:44 
AnswerRe: vb2010os dev Pin
Richard MacCutchan3-Jun-12 23:10
mveRichard MacCutchan3-Jun-12 23:10 
AnswerRe: vb2010os dev Pin
Eddy Vluggen4-Jun-12 0:40
professionalEddy Vluggen4-Jun-12 0:40 
AnswerRe: vb2010os dev Pin
Dave Kreskowiak4-Jun-12 4:08
mveDave Kreskowiak4-Jun-12 4:08 
AnswerRe: vb2010os dev Pin
Paul Conrad4-Jun-12 6:47
professionalPaul Conrad4-Jun-12 6:47 
AnswerRe: vb2010os dev Pin
Luc Pattyn4-Jun-12 7:12
sitebuilderLuc Pattyn4-Jun-12 7:12 
AnswerRe: vb2010os dev Pin
Paul Conrad4-Jun-12 7:16
professionalPaul Conrad4-Jun-12 7:16 
AnswerRe: vb2010os dev Pin
Bert Mitton5-Jun-12 8:00
professionalBert Mitton5-Jun-12 8:00 
QuestionPosting a XML String to a Web Service via VB.NET VS2010 Pin
Member 77438051-Jun-12 12:06
Member 77438051-Jun-12 12:06 
AnswerRe: Posting a XML String to a Web Service via VB.NET VS2010 Pin
Paul Conrad2-Jun-12 8:10
professionalPaul Conrad2-Jun-12 8:10 
AnswerRe: Posting a XML String to a Web Service via VB.NET VS2010 Pin
David Mujica4-Jun-12 3:32
David Mujica4-Jun-12 3:32 
QuestionStructure passing problem Pin
Bret Stern31-May-12 10:23
Bret Stern31-May-12 10:23 
AnswerRe: Structure passing problem Pin
David Mujica31-May-12 10:58
David Mujica31-May-12 10:58 
GeneralRe: Structure passing problem Pin
Bret Stern31-May-12 12:36
Bret Stern31-May-12 12:36 

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.