problem concerned with servlet

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

    problem concerned with servlet

    I want to store records in existing database say MS-Access, But the
    problem is i want to store the next records in incremented serial no.
    for that i took the maximum value of the record but unable to store
    that value in any variable using servlet.
  • Joe

    #2
    Re: problem concerned with servlet

    In article <e5db6a72.03081 52335.3b35c769@ posting.google. com>,
    manishsandow@in diatimes.com says...[color=blue]
    > I want to store records in existing database say MS-Access, But the
    > problem is i want to store the next records in incremented serial no.
    > for that i took the maximum value of the record but unable to store
    > that value in any variable using servlet.
    >[/color]

    I'm not completely sure I understand the problem. If you have an
    automatically incremented index value as the primary kay in your table,
    you don't need to worry about incrementing it in the java code. Any
    decent database can handle the increment when you create a new record.
    I'm not sure if MS-Access has this feature though.










    --

    Fuck George W. Bush!!!

    Comment

    • Phil

      #3
      Re: problem concerned with servlet

      it does have it

      "Joe" <sfjoe@spamcop. net> wrote in message news:MPG.19a7f3 4c8bdb608898980 6@sfo.news.spea keasy.net...[color=blue]
      > In article <e5db6a72.03081 52335.3b35c769@ posting.google. com>,
      > manishsandow@in diatimes.com says...[color=green]
      > > I want to store records in existing database say MS-Access, But the
      > > problem is i want to store the next records in incremented serial no.
      > > for that i took the maximum value of the record but unable to store
      > > that value in any variable using servlet.
      > > [/color]
      >
      > I'm not completely sure I understand the problem. If you have an
      > automatically incremented index value as the primary kay in your table,
      > you don't need to worry about incrementing it in the java code. Any
      > decent database can handle the increment when you create a new record.
      > I'm not sure if MS-Access has this feature though.
      >
      >
      >
      >
      >
      >
      >
      >
      >
      >
      > --
      >
      > Fuck George W. Bush!!![/color]

      Comment

      Working...