I found a sort of solution for this problem. Of course the best thing would be to have global variables...but I didn't find. So I use an auxiliary text file into which I write the relevant information from the mother form, and read it from the daughter form. I could post some excerpts of my scripts if you want.

Now there is presumably a prossibility using the subforms, and manipulating the mother form, including the daughter form (you can undertand from that that in my native language windows is female..) to have the daughter either visible either invisible. You could also put the 2 tables on the same form and use them in way similar to what is given in the Knoda basic exemple (in fact this bibliographic exemple seems very similar to what you want).

Good luck

Magnus Larsson skribis :
Hi!

I am new to this list, and fairly new to Knoda as well. I am trying to
create a database for managing qualitative data in a social science
research project (if anyone has similar tools, I'd be very interested in
sharing ideas).

Now I have run into a design problem: I would like to be able to use a
button on one form (where details about a sound file are entered and
managed) to open another form (where I create a memo connected to a
particular sound file), and in the new form, inherit some values from
the first form. Is there a way to do this?

More specifically, the first form relates to the table "files", with the
values ID_file, filname, setting, date and some more columns.

The second form relates to the table "memos", with columns ID_memo,
memodate, memotext, file (which is where ID_file from files table are to
be stored).

What I would like is a button on the files form, that
1. opens the memo form
2. creates a new entry
3. sets the value ID_file as the value for the "file" field in the memo
form.
4. then lets me set the date for this entry, and type in the text in the
memo, then store the new row.

I have succeeded in creating a button that opens a new form, thus I can
open the memo form from the files form. But how do I accomplish 2-3 above?

Any advice warmly welcome.


Magnus Larsson

-------------------------------------------------------------------------
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Hk-classes-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hk-classes-discuss


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Hk-classes-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hk-classes-discuss

Reply via email to