dcsimg

Search:

Type: Posts; User: bruel1999

Page 1 of 3 1 2 3

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    781

    VS 2012 Re: Skip records in BindingNavigator

    This worked. Thanks!!
  2. Replies
    5
    Views
    781

    VS 2012 Re: Skip records in BindingNavigator

    But there aren't any single quotation marks around False
  3. Replies
    5
    Views
    781

    VS 2012 Skip records in BindingNavigator

    Hello,
    I am using a BindingNavigator control to view the records of a Table.
    The Table has a field called Answered, which is a Yes/No field.
    What I want to do is to skip viewing the records which...
  4. VS 2012 Re: Error: "The value for column 'Answer' in table 'Table1' is DBNull."

    thanks!
  5. VS 2012 [RESOLVED] Error: "The value for column 'Answer' in table 'Table1' is DBNull."

    Hello.

    So I have a table called Table1, in a dataset called PP4DBDataSet.

    I'm searching for records on the basis of their PK using the Find() method and it works. The problem is that one of the...
  6. VS 2012 Re: [RESOLVED] VB database: What am I doing wrong?

    okay, so is there any way to mark this thread unresolved?
    I'm filling the dataset and all, and PP4DBDataSet.Table1.Rows.Count() returns the right value as well (9).
    Still, this code doesn't do...
  7. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    okay.
  8. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    so should I do both things on one form?
  9. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    Yeah I get the notebook thing I really didn't think about it. Sorry

    _11registernew is the form with the BindingNavigator. I'm using it to fill the PP4DBDataSet. It currently has 8 records. That's...
  10. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    So, if I create an instance of _11registernew, can I use it?

    EDIT:
    I can't. I did this:

    Dim myfrm As New _11registernew
    MsgBox(myfrm.PP4DBDataSet.Table1.Rows.Count)

    but it doesn't work
  11. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    well, it doesn't.
  12. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    so if I do use _11registernew.PP4DBDataSet.Table1.Rows.Count, should it return the same value (8)?
  13. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    Can't I access the dataset of _11registernew from another form? _11registernew.PP4DBDataSet.Table1.Rows.Count, maybe?
  14. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    No errors, but the value is still 0. I also tried _11registernew.PP4DBDataSet.Table1.Rows.Count, but it's zero as well
  15. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    I don't understand what you mean by adding two datasets. I don't remember doing that in _12view.
  16. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    In _12view, how do I reference the same dataset I'm referencing in _11registernew?
  17. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    yeah that's it.
    So how do I do it?
  18. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    The form with the BindingNavigator

    Public Class _11registernew

    Private Sub Table1BindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) Handles...
  19. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    what should I show you?
  20. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    The BindingNavigator also shows 8 rows.
    The same PP4DBDataSet.Table1.Rows.Count returns different values in different forms.
  21. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    Then why does PP4DBDataSet.Table1.Rows.Count return a value of 8?
  22. VS 2012 Re: DB: Dataset.Table.Count returns different values in different forms

    yeah, I'm filling the datatable in the other form, using this:
    119443
  23. VS 2012 [RESOLVED] DB: Dataset.Table.Count returns different values in different forms

    Hello,
    I have a DB called PP4DB, and the dataset is called PP4DBDataSet. It contains a table called Table1. When I run PP4DBDataSet.Table1.Count in the form which has the BindingNavigator menu, the...
  24. VS 2012 Re: VB database: What am I doing wrong?

    okay, I tried running the PP4DBDataSet.Table1.Rows.Count in the form where I was adding the rows using this toolbar:
    119315
    there, the value was 8, which is right

    but in the other form, where I...
  25. VS 2012 Re: set distance between two pictureboxes in millimeters.

    okay, I'll do that
  26. VS 2012 Re: set distance between two pictureboxes in millimeters.

    I meant, when printed, the two pictureboxes should be 5 mm apa



    Let's assume only one computer will be used.
  27. VS 2012 Re: set distance between two pictureboxes in millimeters.

    On a printed page.
  28. VS 2012 set distance between two pictureboxes in millimeters.

    Hello
    I have two pictureboxes and I want them to be placed 5 millimeters away from each other. How can I do that?
    Thanks :)
  29. VS 2012 Re: VB database: What am I doing wrong?

    any non-video tutorials?
    slow internet, sorry. :P
  30. VS 2012 Re: VB database: What am I doing wrong?

    Yeah, I'm new, and I haven't done anything zany :P
    so where do I call PP4DBDataSet.Fill ?
  31. VS 2012 Re: VB database: What am I doing wrong?

    I did this, and the value was 0. why?
  32. VS 2012 Re: VB database: What am I doing wrong?

    This is the code I'm using.

    Dim thisrow As DataRow = PP4DBDataSet.Table1.Rows.Find(TextBox1.Text)
    If thisrow Is Nothing Then
    MsgBox("no row selected") ' do something
    ...
  33. VS 2012 Re: VB database: What am I doing wrong?

    Yeah I've triple-checked the database and it has a record with the PK 90990. I also tried it with other records, but there hasn't been any output.
  34. VS 2012 Re: VB database: What am I doing wrong?

    If thisrow IsNot Nothing Then
    msgbox("It works")
    End If

    well, it doesn't work.

    I have a record with the PK 90990. I type it in textbox1 and press Button1, but there isn't any messagebox.
  35. VS 2012 Re: VB database: What am I doing wrong?

    Something like this?


    Dim thisrow As DataRow = PP4DBDataSet.Table1.Rows.Find(TextBox1.Text)
  36. VS 2012 Re: VB database: What am I doing wrong?

    sorry for the lack of detail.
    Row.Complaint returns the value the field "Complaint" for the row.
    what I want to do it search Table1 for records that have the text in TextBox1 as the "Complaint...
  37. VS 2012 [RESOLVED] VB database: What am I doing wrong?

    hello,
    I have a database called PP4DB. It has a table called Table1. This Table1 has a PK called Complaint Code.
    This is the code I tried to search for a record using the key which a user entered...
  38. VS 2012 Re: Locate records in a DataTable using Primary Key

    well?
  39. VS 2012 Re: Locate records in a DataTable using Primary Key

    is this what you wanted?
    117753
  40. VS 2012 Re: Locate records in a DataTable using Primary Key

    okay. I'll try this
Results 1 to 40 of 82
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width