I was wondering how to import children of a main table? For example, if the main table is "Classrooms", I want to import the "Desks" table from excel for that one classroom? Perhaps there is a way? gordon
I assume that Desks table has some sort of ClassroomID field that points the classroom those desks belong to. You have two options here:
Specify ClassroomID in your import Excel file.
Implement Import page BeforeInsert event to populate ClassroomID field automatically based on current Classroom. If these tables are related as Master-Details classroom id field will be stored in session variable $_SESSION["<table name>_masterkey1"] More info: