#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12

    Datagrid help or Flex grid help


    I was wondering if anyone knew of any information on these two topics that could help on how to set them up to be used and which one would be better to use.

    Thanks for any information you could provide.
    Jay Rye
    :Cool:
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    You can find both of these on the msdn site and by googling for them.

    I personally don't use a data grid that often except when dealing with resultsets from a database, but for logging and reporting I use a flex grid.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    I will try this I need to add information to a datagrid unless there is a way to make a form continuos without using the grid.
    Well thanks for the help.
    Jay Rye
    :Cool:
  6. #4
  7. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    Are you using this with a database or just through some other input?
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    I am using an SQL Database. What I am trying to do is.

    I have a form that has two datacombo boxes that gives a list of items. What I need the user to be able to select these two Items and then enter Issue Numbers into a Field below. That is why I am trying to use the datagrid to make this happen. The user should be able to enter these numbers without going to a different form. There could be as many as 200 issue at a time and there could only be 1-10 so that is what I am trying to do I hope this will help.

    Thank you for helping me so much.
    Jay Rye
    :Cool:
  10. #6
  11. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    So you are using the datagrid as a recording instrument, not a display instrument?
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    Yes that is what I am trying to do.
    Jay Rye
    :Cool:
  14. #8
  15. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    Well, you have to do something like have a add new button and say you have a bound data grid control called DBGrid1
    you could do something like:
    Code:
    Private Sub Command1_Click()
        DBGrid1.MoveLast
        DBGrid1.SetFocus
        DBGrid1.AllowAddNew = True
        DBGrid1.Columns(0).AllowFocus = True
    End Sub
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    I will try this and see if it works.
    Thanks.
    Jay Rye
    :Cool:
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    I tried the code you sent and in the drop down window I do not get the same information that you put in your code.
    Such as

    Datagrid1.Movelast in the dropdown menu movelast is not a selection
    It is also not allowing me to set the datasource as well. So none of the other information is working.

    Do you have any suggestion that might help.


    Thanks again
    Jay Rye
    :Cool:
  20. #11
  21. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    what is the exact kind of control that you are using?
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    35
    Rep Power
    12
    I am using a datagrid to do this
    Jay Rye
    :Cool:

IMN logo majestic logo threadwatch logo seochat tools logo