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.091 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started