DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: forms6i

  1. #1
    Join Date
    Dec 2002
    Posts
    40

    forms6i

    I have got two tables table1 and table2.I want to display mdescription,product and volume.I have written the below query which is working fine in sql but i have to implement in forms.I have created relationship between table1.pname,table2.pname and table1.mname,table2.tname.this relationship is working,I want to implement the subquery also in forms.Can anyone please help me out.I have to do it tommorrow.It will be a great help.



    SELECT A.MDESCRIPTION,B.PRODUCT,B.VOLUME
    FROM table1 A,table2 B
    WHERE A.PNAME = B.PNAME
    AND A.MNAME = B.TNAME
    AND B.BDATE = '18-DEC-02'
    AND
    A.PNAME IN(SELECT PNAME FROM GROUP C
    WHERE C.UGROUP = A.DENTRY)

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    Create a view, then make a data block in the form based on this view.
    When you update, use triggers (pre, on, and/or post-update triggers) at the block level. Likewise for inserts and deletes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width