dbTalk Databases Forums  

previous field above

comp.databases.filemaker comp.databases.filemaker


Discuss previous field above in the comp.databases.filemaker forum.



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

Default previous field above - 06-18-2007 , 08:50 PM






I am looking for a solution to a problem:

Start-------Add-------Finish

1 1 2
4 2 6
6 -1 5


My question is how do I get the record from finish to appear in the
start column below every other record aside from the first?

Thanks


Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: previous field above - 06-19-2007 , 03:20 AM







"MrCedars" <dlukic (AT) gmail (DOT) com> schreef in bericht
news:1182217829.582963.320940 (AT) u2g2000hsc (DOT) googlegroups.com...
Quote:
I am looking for a solution to a problem:

Start-------Add-------Finish

1 1 2
4 2 6
6 -1 5


My question is how do I get the record from finish to appear in the
start column below every other record aside from the first?

Thanks

you don't state your setup, what are those fields (numbers, calcs?)

you don't state version. But with 8.5 adv you can replace the ctrl-N for a
new record with a script that is performed instead
this creates the record and uses the goto field <fieldname> script step to
end in the fierld you desire.

Otherwise ctrl-N and a simple TAB wil do the job

keep well, ursus




Reply With Quote
  #3  
Old   
MrCedars
 
Posts: n/a

Default Re: previous field above - 06-19-2007 , 07:12 AM



Hi Ursus,

Sorry about that I do have 8.5 Adv.

I have a cross-tab layout, so when I go to Preview I have this section
as Sub-summary when sorted by DATE.

The fields are all Calcs, what I did do to accomplish this was use the
" GetNthRecord ( fieldName ; recordNumber ) ".

So I have " GetNthRecord(Aging_Line;Get(Record Number)-1) ". The
problem is that this works fine on the Parent related table, but as
soon as I take that field and put it on my layout, all I get is
blanks.

Thanks

Dejan

On Jun 19, 4:20 am, "Ursus" <ursus.k... (AT) wanadoo (DOT) nl> wrote:
Quote:
"MrCedars" <dlu... (AT) gmail (DOT) com> schreef in berichtnews:1182217829.582963.320940 (AT) u2g2000hsc (DOT) googlegroups.com...>I am looking for a solution to a problem:

Start-------Add-------Finish

1 1 2
4 2 6
6 -1 5

My question is how do I get the record from finish to appear in the
start column below every other record aside from the first?

Thanks

you don't state your setup, what are those fields (numbers, calcs?)

you don't state version. But with 8.5 adv you can replace the ctrl-N for a
new record with a script that is performed instead
this creates the record and uses the goto field <fieldname> script step to
end in the fierld you desire.

Otherwise ctrl-N and a simple TAB wil do the job

keep well, ursus



Reply With Quote
  #4  
Old   
Ursus
 
Posts: n/a

Default Re: previous field above - 06-19-2007 , 09:57 AM




"MrCedars" <dlukic (AT) gmail (DOT) com> schreef in bericht
news:1182255173.646522.32650 (AT) d30g2000prg (DOT) googlegroups.com...
Quote:
Hi Ursus,

Sorry about that I do have 8.5 Adv.

I have a cross-tab layout, so when I go to Preview I have this section
as Sub-summary when sorted by DATE.

The fields are all Calcs, what I did do to accomplish this was use the
" GetNthRecord ( fieldName ; recordNumber ) ".

So I have " GetNthRecord(Aging_Line;Get(Record Number)-1) ". The
problem is that this works fine on the Parent related table, but as
soon as I take that field and put it on my layout, all I get is
blanks.

Thanks

Dejan

On Jun 19, 4:20 am, "Ursus" <ursus.k... (AT) wanadoo (DOT) nl> wrote:
"MrCedars" <dlu... (AT) gmail (DOT) com> schreef in
berichtnews:1182217829.582963.320940 (AT) u2g2000hsc (DOT) googlegroups.com...>I am
looking for a solution to a problem:

Start-------Add-------Finish

1 1 2
4 2 6
6 -1 5

My question is how do I get the record from finish to appear in the
start column below every other record aside from the first?

Thanks

you don't state your setup, what are those fields (numbers, calcs?)

you don't state version. But with 8.5 adv you can replace the ctrl-N for
a
new record with a script that is performed instead
this creates the record and uses the goto field <fieldname> script step
to
end in the fierld you desire.

Otherwise ctrl-N and a simple TAB wil do the job

keep well, ursus


First the layout has to be referenced to the correct table.
Second when moving a calculated field across tables you have to include the
tablename into the calc.
Resulting in something like
GetNthRecord(Related_table::Aging_Line;Get(Record Number)-1)
The -1 will then display only one previous related value.

Is that any good?

Keep well, Ursus




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.