Click here to Skip to main content
15,920,688 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: System.Net.Mail behind Proxy Servers Pin
Vasudevan Deepak Kumar15-Feb-08 0:11
Vasudevan Deepak Kumar15-Feb-08 0:11 
GeneralRe: System.Net.Mail behind Proxy Servers Pin
Dave Kreskowiak15-Feb-08 4:00
mveDave Kreskowiak15-Feb-08 4:00 
GeneralRe: System.Net.Mail behind Proxy Servers Pin
plural15-Feb-08 5:07
plural15-Feb-08 5:07 
QuestionDataGrid Issue Pin
Member 367504714-Feb-08 5:56
Member 367504714-Feb-08 5:56 
GeneralRe: DataGrid Issue Pin
Steve Westbrook14-Feb-08 6:23
Steve Westbrook14-Feb-08 6:23 
GeneralRe: DataGrid Issue Pin
Member 367504714-Feb-08 21:08
Member 367504714-Feb-08 21:08 
GeneralNext Number Pin
digicd114-Feb-08 3:33
digicd114-Feb-08 3:33 
GeneralRe: Next Number Pin
Dave Kreskowiak14-Feb-08 4:11
mveDave Kreskowiak14-Feb-08 4:11 
Since Access doesn't support stored procedures, what you do is really just a hack.

The only way I can see this happening is creating a remote Singleton object that handles creating a new order using the latest order number. Since a single can only have one instance of the object at any one time running, all the client have to use this one instance.

But, a simpler method is to just create the order (without the order number) and let the database assign an autonumbered id to it which becomes your order number, or a part of it.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




AnswerRe: Next Number Pin
Guffa14-Feb-08 5:09
Guffa14-Feb-08 5:09 
GeneralRe: Next Number Pin
Steven J Jowett14-Feb-08 10:03
Steven J Jowett14-Feb-08 10:03 
GeneralTOO Many argumnets error Pin
soniasan14-Feb-08 0:43
soniasan14-Feb-08 0:43 
GeneralRe: TOO Many argumnets error Pin
Colin Angus Mackay14-Feb-08 1:08
Colin Angus Mackay14-Feb-08 1:08 
GeneralRe: TOO Many argumnets error Pin
Dave Kreskowiak14-Feb-08 2:30
mveDave Kreskowiak14-Feb-08 2:30 
GeneralRe: TOO Many argumnets error Pin
Vimalsoft(Pty) Ltd14-Feb-08 6:09
professionalVimalsoft(Pty) Ltd14-Feb-08 6:09 
QuestionWhat is causing OleDbException no value given one or more parameter? Pin
JUNEYT13-Feb-08 23:08
JUNEYT13-Feb-08 23:08 
GeneralRe: What is causing OleDbException no value given one or more parameter? Pin
John_Adams13-Feb-08 23:55
John_Adams13-Feb-08 23:55 
GeneralRe: What is causing OleDbException no value given one or more parameter? Pin
JUNEYT14-Feb-08 0:14
JUNEYT14-Feb-08 0:14 
GeneralRe: What is causing OleDbException no value given one or more parameter? Pin
Dave Kreskowiak14-Feb-08 2:25
mveDave Kreskowiak14-Feb-08 2:25 
GeneralTricky Select Case Condition and A Great Food for Visual Basic.Net Gurus Pin
VamsyKrishna13-Feb-08 20:27
VamsyKrishna13-Feb-08 20:27 
GeneralRe: Tricky Select Case Condition and A Great Food for Visual Basic.Net Gurus Pin
Christian Graus14-Feb-08 0:24
protectorChristian Graus14-Feb-08 0:24 
GeneralRe: Tricky Select Case Condition and A Great Food for Visual Basic.Net Gurus Pin
Dave Kreskowiak14-Feb-08 2:20
mveDave Kreskowiak14-Feb-08 2:20 
GeneralRe: Tricky Select Case Condition and A Great Food for Visual Basic.Net Gurus Pin
Christian Graus14-Feb-08 9:36
protectorChristian Graus14-Feb-08 9:36 
GeneralRe: Tricky Select Case Condition and A Great Food for Visual Basic.Net Gurus Pin
Dave Kreskowiak14-Feb-08 9:46
mveDave Kreskowiak14-Feb-08 9:46 
QuestionHow to click on a link ? Pin
SekharOne13-Feb-08 18:33
SekharOne13-Feb-08 18:33 
AnswerRe: How to click on a link ? Pin
Nilesh Hapse13-Feb-08 20:24
Nilesh Hapse13-Feb-08 20:24 

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.