dbTalk Databases Forums  

Copy value from previous record?

comp.databases.filemaker comp.databases.filemaker


Discuss Copy value from previous record? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve
 
Posts: n/a

Default Copy value from previous record? - 08-06-2003 , 04:26 PM






I have a field set up with the auto-enter option "copy value from previous
record". Exactly _which_ record is "previous"... the help file doesn't say. I
guess I assumed it was the last one entered.

When I create a new record in this file from a portal in another related
file, I can't see any rhyme or reason to the value that gets put in here.

Thanks,

Steve


Reply With Quote
  #2  
Old   
Bridget Eley
 
Posts: n/a

Default Re: Copy value from previous record? - 08-06-2003 , 05:06 PM






Hi Steve

The online help says "the previously accessed record" but this only seems to
when you are working in the child file. My attempts to make it work via a
new record made on the last portal row also failed. When I tried
disallowing creation of new related records through the portal, and
scripting it instead the auto-enter option worked, that is, it auto-entered
the value from the last record accessed via the portal. Don't know why it
should work one way and not the other. Here is how you script the creation
of new related records:

In the child file:

New Record/Request
Set Field [Foreign Key, Global Number Field]

In the parent file:

Set Field [Relationship::Global Number Field, Primary Key]
Perform Script [Subscript, External (script in child file)]


Bridget Eley

in article 0001HW.BB56EAC40002615F09A92C60 (AT)...) giganews.com, Steve at
nospam (AT) nospam (DOT) com wrote on 7/8/03 7:26 AM:

Quote:
I have a field set up with the auto-enter option "copy value from previous
record". Exactly _which_ record is "previous"... the help file doesn't say. I
guess I assumed it was the last one entered.

When I create a new record in this file from a portal in another related
file, I can't see any rhyme or reason to the value that gets put in here.

Thanks,

Steve



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.