Re: Transfering data from one window to another



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



.



Relevant Pages

  • Re: output.c error in multithreaded program
    ... I agree that it is possible to create a system that is perfectly safe. ... When the target is a window created by a different ... >in the GUI thread has no effect on the worker thread WRT to the sent message ...
    (microsoft.public.vc.mfc)
  • Re: 2.0 USB Use locks up Windows XP
    ... I have to thank you for the suggestion to uninstall in the safe ... But the USB's did work with a camera and USB mouse so I ... The window that pops up indicates there are 2.0 USB’s ... Safe Mode and uninstall *all* listings under 'Universal Serial Bus ...
    (microsoft.public.windowsxp.newusers)
  • Re: WindowsXP Problem with Login
    ... Also while in Safe Mode see if you ... > before popping up a window saying there is an error with drwatson. ... > dissappear as well as my task bar and start menu. ...
    (microsoft.public.windowsxp.help_and_support)
  • Unable to logon except via safe mode
    ... I am unable to logon to my window xp home edition system except via safe ... After a normal reboot no icons show up on the welcome screen to click. ...
    (microsoft.public.windowsxp.help_and_support)