More than one table in one form

woeterwoeter Member Posts: 11
hello,

I want to use two tables in one form. The tables are tblUser and tblFile.
I want to show all the fields from tblUser (name, address, age,...) and some fields from tblFile (status, ID,...). The tables are related. The PK from tblUser is Nr and the FK in tblFile is user_ID. How can i show this in one form??

thx

Comments

  • WaldoWaldo Member Posts: 3,412
    You can:
    - use a subform
    - extra textboxes in you tablebox, filling the data in code (OnAfterGetRecord)
    - use flowfields

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • woeterwoeter Member Posts: 11
    Which code should i fill in, in the onAfterGetRecord?
    Could you give me an example?
    Thx
  • krikikriki Member, Moderator Posts: 9,118
    Check also Form on two tables
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.