Welcome, Guest
Username: Password: Remember me

TOPIC: A question that I can not properly use reuse.

A question that I can not properly use reuse. 27 May 2013 19:50 #7236

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
Hi, a question that I can not properly use reuse.

Example:
table1: id_tabla1, name
table2: id_tabla2, name
table 3: id, id_tabla1 (combo), id_tabla2 (radio)

What I have to write on the reuse of Table 1 and 2 for redigir the table3 values​​?, Thanks.
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 27 May 2013 19:53 #7239

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
Hello, someone who can give me a help, thanks.
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 28 May 2013 12:15 #7242

  • dyoungers
  • dyoungers's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 16
  • Karma: 0
I'm not sure I understand the question but if you use the foreign key data type in Table 3 for table 1 and table 2 then on the table 3 form you can use either a combo or radio buttons for those fields

Dave
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 28 May 2013 13:40 #7243

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
Sorry I do not understand the proposed solution. My question is what I have to put the pages of table1 and table2 reuse field to select by default the form field from table1 or table2 to pass to the form of table 3, thanks.
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 28 May 2013 15:27 #7246

  • dyoungers
  • dyoungers's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 16
  • Karma: 0
sounds like you are trying to pre-fill fields ... there are numerous posts in the forums that might answer your questions so if you haven't done so, maybe try searching the forum if you haven't already done so

For example see the second post in this thread:

www.j-cook.pro/forum/7-design-your-appli...s-in-a-new-item#7020

Hope that helps ...

Dave
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 31 May 2013 13:07 #7266

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
I'm sorry, I can not run with field redirection reuse,? Someone with a very clear example to understand it and try it?, Thanks.
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 02 Jun 2013 07:38 #7274

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
I found the problem, I went into the field reuse the id field but this is hidden, so you will not recognize him.

The problem is that then I have to dupicar this field, creating a new one with the id field that I want to spend, thus having two different id but with the same function, how they can do better?
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 03 Jun 2013 12:06 #7282

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I never tried to impose the id.
Id is automatic incremental field. You cannot touch it. You cannot preset it.
In this case, you must create another field carrying this information. Another number.

To preset values (reuse functionalities, or direct in url), the field must be a Foreign Key.
If your field id is not a foreing key in the builder, Cook will not create the filters and the preset form values (for lists only)

Am I clear ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: A question that I can not properly use reuse. 04 Jun 2013 20:33 #7328

  • selectmatica
  • selectmatica's Avatar
  • Offline
  • Junior Member
  • Buscando nuevos horizontes
  • Posts: 22
  • Karma: 0
Understood, I decided to cook another area and then manually change the id, how I work, thanks.

By the way, I am using a translator so it might not be exactly what I say to my writing.
The administrator has disabled public write access.
Time to create page: 0.103 seconds

Get Started