current record

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jose

    #1

    current record

    How obtain the current record ? this is my code:

    Dim fila As DataRow

    Dim llaveprimaria(0 ) As DataColumn

    llaveprimaria(0 ) = dasedo.Tables(" tabest").Column s("codigo")

    dasedo.Tables(" tabest").Primar yKey() = llaveprimaria

    fila = dasedo.Tables(" tabest").Rows.F ind(c_idfind)

    Me.BindingConte xt(dasedo, "tabest").Posit ion = 1 (bad code line help me
    please)


  • tomb

    #2
    Re: current record


    Jose wrote:
    [color=blue]
    >How obtain the current record ? this is my code:
    >
    >Dim fila As DataRow
    >
    >Dim llaveprimaria(0 ) As DataColumn
    >
    >llaveprimaria( 0) = dasedo.Tables(" tabest").Column s("codigo")
    >
    >dasedo.Tables( "tabest").Prima ryKey() = llaveprimaria
    >
    >fila = dasedo.Tables(" tabest").Rows.F ind(c_idfind)
    >
    >[/color]
    fila is the current record.

    T

    Comment

    • Jose

      #3
      Re: current record

      Well but how will appear my code?
      Me.BindingConte xt(dasedo, "tabest").Posit ion = 1 (bad code line help me
      please)


      "tomb" <tomb@technetce nter.com> escribió en el mensaje
      news:ouq8g.5755 $qd2.1462@bigne ws6.bellsouth.n et...[color=blue]
      >
      > Jose wrote:
      >[color=green]
      >>How obtain the current record ? this is my code:
      >>
      >>Dim fila As DataRow
      >>
      >>Dim llaveprimaria(0 ) As DataColumn
      >>
      >>llaveprimaria (0) = dasedo.Tables(" tabest").Column s("codigo")
      >>
      >>dasedo.Tables ("tabest").Prim aryKey() = llaveprimaria
      >>
      >>fila = dasedo.Tables(" tabest").Rows.F ind(c_idfind)
      >>[/color]
      > fila is the current record.
      >
      > T[/color]


      Comment

      • tomb

        #4
        Re: current record

        It's difficult to say, because I don't know what Me refers to. What are
        you binding to? And what are you trying to find out?

        T

        Jose wrote:
        [color=blue]
        >Well but how will appear my code?
        >Me.BindingCont ext(dasedo, "tabest").Posit ion = 1 (bad code line help me
        >please)
        >
        >
        >"tomb" <tomb@technetce nter.com> escribió en el mensaje
        >news:ouq8g.575 5$qd2.1462@bign ews6.bellsouth. net...
        >
        >[color=green]
        >>Jose wrote:
        >>
        >>
        >>[color=darkred]
        >>>How obtain the current record ? this is my code:
        >>>
        >>>Dim fila As DataRow
        >>>
        >>>Dim llaveprimaria(0 ) As DataColumn
        >>>
        >>>llaveprimari a(0) = dasedo.Tables(" tabest").Column s("codigo")
        >>>
        >>>dasedo.Table s("tabest").Pri maryKey() = llaveprimaria
        >>>
        >>>fila = dasedo.Tables(" tabest").Rows.F ind(c_idfind)
        >>>
        >>>
        >>>[/color]
        >>fila is the current record.
        >>
        >>T
        >>
        >>[/color]
        >
        >
        >
        >[/color]

        Comment

        Working...