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

TOPIC:

Auto generated ID component 11 Nov 2012 05:37 #5251

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
How to generate auto generated Id file in j-cook.pro?

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

Last edit: by vivek.

Re: Auto generated ID component 11 Nov 2012 09:23 #5256

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Do you mean an ID field in tables and layouts?

If so, the id field is auto-created on all tables. If you need it in a layout (grid or fly), you can add it to the layout by dragging the table element itself to your layout, just as you do with a field.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

Re: Auto generated ID component 11 Nov 2012 11:33 #5265

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Thank you for your reply, and i asked about, how to set the id field as auto generated in all layouts?
i.e various id number(1,2,3,....) for various customers(a,b,c,....)

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

Re: Auto generated ID component 11 Nov 2012 13:35 #5273

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Sorry @vivek,

I don't quite understand what you mean...

The id field is auto created for every table you create. The id field of every record you create in a table will auto-increment and be set to be the table's primary key.

Does that answer your question?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

Re: Auto generated ID component 22 Nov 2012 04:26 #5602

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Thanks Gez, That answers my question but how do I display the ID column in the page.


Regards
Vivek

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

Re: Auto generated ID component 22 Nov 2012 10:07 #5609

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
You can just drag the table node to whatever layout you want, a fly, grid or form and it will display the ID of the record(s) in question.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: admin

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

  • Page:
  • 1
Time to create page: 0.065 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started