Hi Guys,
I have two questions
With datasets i understand you take a copy of the data to work with and then write the changes from dataset to database
So how does record locking work? IE if 3 people have three copies of the data then how are the changes written ?
and what about newrecords ? is there a common and reliable way of ensuring a sequential sequence of invoice numbers and the like.
My other question is about properties of forms
I have a text box, when user types in the text box my app "catches" the tilde key being pressed.
What i want to happen is open another form that has just a listview control on it.
i have this working no problems. when the tilde keypress is caught i use a function to build a SQL string based on a partial search string in the text box and loads this into the listview.
The problem i have is passing the value selected form list back to the original text box.
What i want is for the form i open to function like a msgbox or a inputbox, in that the function is "paused" until user makes a selection
So what im trying to create is a glorified inputbox()
Im sure this must be possible since VB is very versatile in this sort of area.
Last but not least, is there a way to stop more than one instance of a particular form being opened? Currently i have a boolean value which i update in the open and close events. and then check against this before opening another copy. Is this the easiest way?
Thanks in advance
I have two questions
With datasets i understand you take a copy of the data to work with and then write the changes from dataset to database
So how does record locking work? IE if 3 people have three copies of the data then how are the changes written ?
and what about newrecords ? is there a common and reliable way of ensuring a sequential sequence of invoice numbers and the like.
My other question is about properties of forms
I have a text box, when user types in the text box my app "catches" the tilde key being pressed.
What i want to happen is open another form that has just a listview control on it.
i have this working no problems. when the tilde keypress is caught i use a function to build a SQL string based on a partial search string in the text box and loads this into the listview.
The problem i have is passing the value selected form list back to the original text box.
What i want is for the form i open to function like a msgbox or a inputbox, in that the function is "paused" until user makes a selection
So what im trying to create is a glorified inputbox()
Im sure this must be possible since VB is very versatile in this sort of area.
Last but not least, is there a way to stop more than one instance of a particular form being opened? Currently i have a boolean value which i update in the open and close events. and then check against this before opening another copy. Is this the easiest way?
Thanks in advance