Warans
21st October 2002, 17:05
Can anyone have any answer to this scenario:

For a single table, a new session is to be generated with multiple forms on it. (say 6 forms). Each form has the same view field.
Ofcourse, the forms have multi-occurence records...
The user will maintain different data in different forms...the point is the underlying table is still same...

Like on form1 he may have different set of data...on form3 he may have different set of data....

The maintenance includes insert/delete/modify as usual....

How to have this set up...? any suggestions...

Have a GREAT TIME !!

THANKS for your HELP in ADVANCE !!!

rupertb
21st October 2002, 17:13
Warans you don't have your Baan version on your profile, I can only comment with respect to B40_b2 - yes you can maintain records on multiple forms where form1 for example uses itm001 as its main table and form2 uses com020 as its main table - if that's what you need to know. However the way I accomplished it then was very painfull! I lost aprox. 15kg and 15 years of my life. Would you like to know more?

Regards,
Rupert

Warans
21st October 2002, 17:20
Good Rupert...nice to know that....

Version of BaaN is B40_c4...

I had said form 1 tiitm001 set A data....

form 2 tiitm001 set B data....

not different table....

now do u think this may take lesser time than the one you had mentioned....:D

Best Regards,
Warans

rupertb
21st October 2002, 17:43
Oh - OK!

In your script you need:



form.1:
before.form:
tiitm001.item = item.1 |* I don't know where item.1 comes from?
execute(find.data)

form.2:
before.form:
tiitm001.item = item.2 |* I don't know where item.2 comes from?
execute(find.data)



Easy!

evertsen
21st October 2002, 17:49
I'm not sure I understand your request as it seems like all you need to do is generate the session using Form Type 3 (multi-occurence+view+main) and then organize the fields you would like on each form.