Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[SOLVED] Primary Key with Auto-Increment 30 Oct 2011 03:28 #378

What is the method for creating a table where the id for the primary key would auto-increment?

Please Log in or Create an account to join the conversation.

Last edit: by denderli.

Re: Primary Key with Auto-Increment 30 Oct 2011 05:45 #379

  • Kevin
  • Kevin's Avatar
  • Visitor
  • Visitor
All the tables already have an id which is auto-incremented by default.

This field does not show by default.

If you want it to be displayed just drag the root of the table into the grid and you will be able to see it

Please Log in or Create an account to join the conversation.

Last edit: by Kevin.

Re: Primary Key with Auto-Increment 30 Oct 2011 13:30 #386

Thank you for the quick reply. I see what you are referring to. My error was trying to create all database table fields prior to making any form fields. Knowing this now, development should go pretty fast. This is an excellent tool!

Please Log in or Create an account to join the conversation.

Re: Primary Key with Auto-Increment 30 Oct 2011 13:37 #387

  • Kevin
  • Kevin's Avatar
  • Visitor
  • Visitor
I had the same issue when I started.
You can add or remove database fields as and when you need them and update the forms as you go.

Takes a little getting use to but I agree it's a great tool, and getting better all the time.

Don't forget to add [SOLVED] to the title of your first post if your happy it is resolved

Please Log in or Create an account to join the conversation.

Last edit: by Kevin.

Re: Primary Key with Auto-Increment 31 Oct 2011 15:14 #389

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Thank you Kevin


Karma +1
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Primary Key with Auto-Increment 31 Oct 2011 18:27 #394

  • Kevin
  • Kevin's Avatar
  • Visitor
  • Visitor
You/re welcome, only passing on the answer to a question I asked you not so long ago.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.062 seconds
Je suis vraiment impressionné par la puissance de COOK et encore plus admiratif de ton travail. A ce jour je crois que c'est ce que j'ai vu de plus abouti dans le domaine de la conception d'extension pour Joomla!
felichon (Forum)  

Get Started