Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.filemaker > #1377

FMPro 9 script won't work in FMPro 12

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx03.iad.POSTED!not-for-mail
From Bob M. <email55@domain.com>
Newsgroups comp.databases.filemaker
Message-ID <201309181004478188-email55@domaincom> (permalink)
MIME-Version 1.0
Content-type multipart/alternative; boundary=--------------19512917371131582170
Subject FMPro 9 script won't work in FMPro 12
User-Agent Unison/2.1.10
Lines 109
X-Complaints-To http://www.panic.com/unison/dmca.html
NNTP-Posting-Date Wed, 18 Sep 2013 17:04:48 UTC
Organization http://www.panic.com/unison/
Date Wed, 18 Sep 2013 10:04:47 -0700
X-Received-Bytes 5275
Xref csiph.com comp.databases.filemaker:1377

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I have an Auto-enter calculation in a field named Comments.

The ojective is to create a timestamp list of notes that I add from 
time to time with the latest note being on top.

Here is the Calculation I was using in 9 that doesn't work in 12:

Let(
[
_Notes = Comments;
_Prompt = " " ;
_Char = "• " ;
_Divider  = TextColor 
("¶––––––––––––––––––––––––––––––––––––––––––––––----–––––––––––––-----–––¶" 
; RGB (150 ; 150 ; 150));
_Tag = TextStyleAdd ( TextColor ( Get( CurrentTimeStamp ) & ¶ ; RGB ( 
150 ; 150 ; 150 ) ) ; Bold );
_Editing = Left( _Notes; Length( _Prompt )) = _Prompt or Left ( _Notes 
; Length( _Char ) ) = _Char

];
If( _Editing; _Notes;
_Char &  _Tag & _Notes & _Divider  & Middle ( $$NoteLog ; Length( 
_Prompt) ; 1000000 )) 

)

The data should look like this:

• 7/27/2009 1:29:45 PM
Left message for re: Battery Needing service
––––––––––––––––––––––––––––––––––––––––––––––----–––––––––––––-----–––
• 11/15/2007 11:22:13 AM
Talked with Stephanie about door bell. Jim will be out to switch door 
bells tomorrow at 9:00 to 11:00 am.

Can anyone help me with why this doesn't work in FMPro 12?

TIA,

Bob

Back to comp.databases.filemaker | Previous | NextNext in thread | Find similar | Unroll thread


Thread

FMPro 9 script won't work in FMPro 12 Bob M. <email55@domain.com> - 2013-09-18 10:04 -0700
  Re: FMPro 9 script won't work in FMPro 12 John Hanson <crayz9000@gmail.com> - 2013-09-18 11:02 -0700
  Re: FMPro 9 script won't work in FMPro 12 Howard Schlossberg <howard@nospam.fmprosolutions.com> - 2013-09-18 21:07 -0700
    Re: FMPro 9 script won't work in FMPro 12 Bob M. <email@domain.com> - 2013-09-26 15:12 -0700
      Re: FMPro 9 script won't work in FMPro 12 Howard - FM Pro Solutions <fmprosolutions@gmail.com> - 2013-09-26 20:27 -0700
        Re: FMPro 9 script won't work in FMPro 12 Bob Meador <email@domain.com> - 2014-01-24 10:34 -0700

csiph-web