Re: Transfering data from one window to another
- From: "ursus.kirk" <secret@xxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 11:13:52 +0100
Insert From Last Visited is not a very safe method. A lot of things may go
wrong with that.
Create a new global field <gMemberID>
start the script with:
SetField gMemberID , org::memberid
and after the New record step
set field notes::memberid , gMemberID
This uses the actual id and stores it in a safe place to be re-used.
An other thing that is not very safe is using copy and paste. Try to avoid
these.
Ursus
"GJPeacock" <GJPeacock@xxxxxxxxx> schreef in bericht
news:1141023690.955687.144910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a database which is basically a contact management system. On
the main window containing contact info, i also have a a portal
containing information/records on related notes for this contact
(numerous notes per contact). I have a button that opens a new window
and goes to a new record layout for entering a new note, i am having
trouble passing the member ID from the main contact window to the new
member ID field on the new note window. The solution i had seemed to
work for a while, but suddenly seems to have stopped.
Go to field[org::memberid]
New Window[Name "new note" ..... ]
Go to layout["Notes"(notes)]
New record/request
Insert from last visited[notes::memberid]
Go to field[notes::subject]
is there anything wrong with this method of passing the data... i dont
understand why it worked and then suddenly stopped, and not just in
this instance, i used this method for several other 'new record
windows' in the same file.
if anyone could shed some light, or provide an alternative i'd be very
grateful...
thanks
Gavin
.
- References:
- Transfering data from one window to another
- From: GJPeacock
- Transfering data from one window to another
- Prev by Date: Transfering data from one window to another
- Next by Date: Re: Using Repeating Fields for Interface Elements
- Previous by thread: Transfering data from one window to another
- Index(es):
Relevant Pages
|