Hi
I need help in this sub-form:

  tblproduto:
    _attributes:
      idMethod: native
    intcodproduto:
      type: INTEGER
      required: true
      autoIncrement: true
      primaryKey: true
    strnomeproduto:
      type: VARCHAR
      size: 30
      required: true
    strfabricante:
      type: VARCHAR
      size: 30
    dtmdatacadastro:
      type: DATE
    _uniques:
      tblproduto_strnomeproduto_key:
        - strnomeproduto

  tbllocalestoque:
    _attributes:
      idMethod: native
    intcodlocalestoque:
      type: INTEGER
      required: true
      autoIncrement: true
      primaryKey: true
    strnomelocal:
      type: VARCHAR
      size: 30
      required: true
    strendereco:
      type: VARCHAR
      size: 50

  tblprodutolocal:
    intcodproduto:
      type: INTEGER
      required: true
      primaryKey: true
      foreignTable: tblproduto
      foreignReference: intcodproduto
      onDelete:
      onUpdate:
    intcodlocalestoque:
      type: INTEGER
      required: true
      primaryKey: true
      foreignTable: tbllocalestoque
      foreignReference: intcodlocalestoque
      onDelete:
      onUpdate:
    intquantidade:
      type: INTEGER
      required: true

Well, I need make a sub-form of "tbllocalestoque" in table
"tblproduto", but i need include "intquantidade" in sub-form (many-to-
many).
For example:
intcodproduto = 1
strnomeproduto = produto01
strfabricante = fabricante01
dtmdatacadastro = 17/07/07

sub-form:
strnomelocal = local01                    intquantidade = 100
strnomelocal = local02                    intquantidade = 58
strnomelocal = local03                    intquantidade = 62
strnomelocal = local04                    intquantidade = 94

What I need make to take it??

Thx, and sorry my bad English.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to