Ask a Question related to Dreamweaver AppDev, Design and Development.
-
acidrain9 #1
autoincrement problem
i have a contact database and basic pages setup with ability to add contacts. i
have implimented a notes feature that will allow each user to add notes to each
customer. my problem is that after you add one note, and try to add another
one the text is passed from the first note to the form, basically it won't let
me add a second note.
is there a way to check the database to find out what the next available
NoteID would be and to use that number in a textbox.
hope that wasn't too confusing.
thanks
acidrain9 Guest
-
primary key - an email address or autoincrement integer
I have a users table, the typical firstname, lastname, phone, email etc.. Will have about 10,000 users. Mostly all selects as opposed to... -
SHOW TABLE STATUS & Autoincrement???
Can someone please tell me what the Auto_increment field in the SHOW TABLE STATUS output means? I checked the online documentation and couldn't get... -
autoincrement reset
Hey, I was wondering if it's possible to reset the "auto_increment" feature in MySQL. For example, if I have a database with a list that will... -
ViewState + AutoIncrement -- Okay; Session + AutoIncrement -- Not okay
try calling the following function private static void KludgeAutoIncrement(DataColumn dc, int value) { try { System.Reflection.BindingFlags bf... -
Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I... -
CMBergin #2
Re: autoincrement problem
I don't think I understand your question. You don't need to know the next
note ID to insert it, and if you were to display the next note ID when the
user began entering his note, there's no guarantee it would still be the
next note ID by the time he finished and the note was actually inserted.
Can you explain a little more?
"acidrain9" <webforumsuser@macromedia.com> wrote in message
news:cv53ef$cap$1@forums.macromedia.com...contacts. i> i have a contact database and basic pages setup with ability to addeach> have implimented a notes feature that will allow each user to add notes toanother> customer. my problem is that after you add one note, and try to addlet> one the text is passed from the first note to the form, basically it won't> me add a second note.
>
> is there a way to check the database to find out what the next available
> NoteID would be and to use that number in a textbox.
>
> hope that wasn't too confusing.
>
> thanks
>
CMBergin Guest
-
acidrain9 #3
Re: autoincrement problem
i have a page set up that has a datagrid (contacts.aspx) with a list of
contacts, when you click details for each contact the ID of the contact is
passed to a detail page url which shows extended info, including notes.
(contactdetails.aspx?ID123)
i then have the option to add a new note for that contact (when clicked it
passes the existing ID to the url i.e. addnote.aspx?ID=123
my problem is that when i add one not it is fine but if i click the link to
add another note it pulls up all of the previous note information into my form
fields.
i am trying to make it so that i can add as many notes as i may need.
does that make sense???
acidrain9 Guest
-
CMBergin #4
Re: autoincrement problem
Ahh, okay.
It shouldn't be acting like that. Perhaps the page is being cached.
Can you post your code, please (in a text file online with a link to the
text file - large blocks of code coming from the web forum get badly
mangled).
"acidrain9" <webforumsuser@macromedia.com> wrote in message
news:cv5prc$efa$1@forums.macromedia.com...is> i have a page set up that has a datagrid (contacts.aspx) with a list of
> contacts, when you click details for each contact the ID of the contactit> passed to a detail page url which shows extended info, including notes.
> (contactdetails.aspx?ID123)
>
> i then have the option to add a new note for that contact (when clickedto> passes the existing ID to the url i.e. addnote.aspx?ID=123
>
> my problem is that when i add one not it is fine but if i click the linkform> add another note it pulls up all of the previous note information into my> fields.
>
> i am trying to make it so that i can add as many notes as i may need.
>
> does that make sense???
>
CMBergin Guest



Reply With Quote

