Re: Returning values
- From: "Alex Passos" <bz@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Apr 2005 15:53:25 -0500
Well if you are doing an insert your connection has to be open at that time
so plug in the select last_insert_id right at that point to get the value of
the field back, then from there if you need to use it later for example you
could add it to the session.
Alex
"Steven Blair" <steven.blair@xxxxxxxxxxxxxx> wrote in message
news:eWphDouOFHA.1732@xxxxxxxxxxxxxxxxxxxxxxx
> Yes auto inc.
>
> The problem is, I am writing a web app so not using a conenction thats
> open all the time :|
>
> Any otrher ideas?
>
> Regards,
>
> Steven
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: Returning values
- From: Kai Brinkmann [MSFT]
- Re: Returning values
- From: Steven Blair
- Re: Returning values
- References:
- Re: Returning values
- From: Alex Passos
- Re: Returning values
- From: Steven Blair
- Re: Returning values
- Prev by Date: Re: Returning values
- Next by Date: Sets
- Previous by thread: Re: Returning values
- Next by thread: Re: Returning values
- Index(es):
Relevant Pages
|
Loading