removing autoincrement field, and proceeding tothe next field.

jaya

Member
Joined
May 5, 2005
Messages
15
Programming Experience
Beginner
in my form,
first i kept autoincrement field.
now i want to remove this field.
now how to go enter the records to the database one by one without autoincrement field.
 
removing auto_increment field

u suggested that by using loop we can solve it.
but my question
if v r retrieving the data from the dbase which is already existing,
then we can use loop
it works well and fine.
but if v want to enter the new records to the dbase then how to mention loop.
any suggestions
welcome



kulrom said:
Probably by using loop ... :)
Feel free to ask for more if you need an assistence with that ... Cheers ;)
 
Wait a minute ... could you please explain the meaning of this: now how to go enter the records ...
Does it mean you are trying to insert new records into DB?
If, I'm right, then why you can't use a loop ... i don't see a reason
anyway explain what are you trying to acomplish there and i'll help you out ... Cheers ;)
 
got the query

i got the solution to my query
no need for a loop here

just declare one variable and increment every time when u click the button
that's it
thank u



kulrom said:
Wait a minute ... could you please explain the meaning of this: now how to go enter the records ...
Does it mean you are trying to insert new records into DB?
If, I'm right, then why you can't use a loop ... i don't see a reason
anyway explain what are you trying to acomplish there and i'll help you out ... Cheers ;)
 
ans to my query.

my query was

i want to enter the records one by one to the dbase .
first my requirement was to put an autoincrement field.
but afterwards,i dont want to keep autoincrement field.
and i want to enter the records one after the other.
so i declared one varialble and whenever i click the button my record ll go to next record.
hope its clear
any queries welcome

kulrom said:
Well, i'm glad to hear you have resolved your problem ...but if you don't mind could you explain what was your intention ... you wanted to increase what? i really don't understand you :( ... Cheers ;)
 
Back
Top