Search results for query: *

  1. F

    Updating Records

    Hi CJard, erm what about the following: would that work? Dim s as string = "Hello world" Message(s)
  2. F

    Updating Records

    Thanks, ive checked that page on the multiple forms and it helped me out a little bit. The way you broke it down was good thanks alot, logically let me have a go. Basically information must be sent from form 1 to form 2, so on form 2 I have the following at the top: Public Sub New(ByVal...
  3. F

    Updating Records

    John thanks for that, I have understood what you have said. However when CJard said pass the pupulated dataset onto form 2, how would I go about this? Sorry I know i might sound abit dumb, its just im at the early stages. :( I have used your coding on my form 2 Public Sub New(ByVal parameter...
  4. F

    Updating Records

    Constructor parameter? I understand where you sed pass the dataset from form1 into form2, and the grid can show the updated data. But the first part has confused me a little bit. Thanks for your info on the add part, oh im sorry about the stupid error message i posted. Well the coding works...
  5. F

    Updating Records

    Sorry it wasnt that line it was the following line: OleDbDataAdapter1.Update(DsItemsGivenOut1) An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll. You see the above line is in a button on the first form which I use to update the records...
  6. F

    Updating Records

    Oh i understand partly, anyway what I have done is added 2 datagrids turned the visibility of the first one to false, and when the load button is pressed on the second form it works. However when i press the add records button twice it breaks on the following line...
  7. F

    Updating Records

    Well i cant share the dsitemsgivenout1, if that is what you mean
  8. F

    Updating Records

    Sing?:confused: Sing?:confused: Please could you exmplain in plain english
  9. F

    Updating Records

    Hi, the following coding works on a form where I want information entered in a textbox to update in a Datagrid. Dim Neworder As DataRow = DsItems1.Tables("Items").NewRow() Neworder("Description") = TextBox1.Text Neworder("Quantity") = TextBox2.Text...
  10. F

    Connecting VB.Net to Access..

    Cjard Nice one, finally ive got an introduction into how to create a vb program with links to a database.
  11. F

    Connecting VB.Net to Access..

    Sorry, basically linking my vb.net program to a database (Access), thing is Im not that knowledgable in vb, i would prefer the most easiest method.
  12. F

    Connecting VB.Net to Access..

    Hi, I know im going to sound stupid but I need help with linking Vb.Net to access. I would prefer the most easy approach as I have not that much knowledge.
  13. F

    Re-activate Form?

    Nope that doesnt work
  14. F

    Re-activate Form?

    Hi, I was wondering is it possible to re-activate the current form? I have some coding which is in the form activate, and that coding needs to be run a few times but the only way I can get it to work is clicking on to another form and returning to the form. I have tried me.activate, or...
  15. F

    Simple Question Listbox..

    Well I just added that piece of coding to a button i created on the first form and its working im getting somewhere now. But, I wanted the textbox to display the number of items without clicking on that button, so i tried it in the form load event and its not working now. Well there are no...
  16. F

    Simple Question Listbox..

    I just dont know, the following is on the same page and it doesnt work: TextBox2.Text = lstItems.Items.Count.ToString However, on another page I have: TextBox1.Text = frmmain.lstItems.Items.Count.ToString and the above works :confused:
  17. F

    Simple Question Listbox..

    Hmmm, well that textbox1 line still does not appear to work. Do you have any ideas why? Thanks
  18. F

    Simple Question Listbox..

    Thanks it works now
  19. F

    Simple Question Listbox..

    Its in the form load event, Im not sure y it is not working. However something might help you the two listboxes are different. The first listbox is reading data from a database and the second one is just a string, im not sure if that is the problem.
  20. F

    Simple Question Listbox..

    That doesnt seem to work, Yep its called listbox2 but it doesnt matter as i did change it to that.
Back
Top