Search the web
Sign In
New User? Sign Up
jsosa · JavaScript OSA-Talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can't trap MacOS.OSA errors.   Message List  
Reply | Forward Message #430 of 529 |
accessing field value in FileMaker 7

I upgraded to FileMakerPro 7.0 from version 5.5. The following is no
longer working to access the value of the field.

aName = fmp.database[dbName].table.current_record.cell["User ID"].valueOf();

The event log says:
"TypeError: fmp.database[dbName].current_record.cell has no properties"

Can anyone help?


--
______________________________________________________________________________
Hardy Machia * Catamount Software * Handheld Software Development
802-372-9512 * hardy@... * http://www.catamount.com
______________________________________________________________________________
Liberty in our lifetime: www.freestateproject.com



Fri Mar 19, 2004 1:33 am

hardymacia
Online Now Online Now
Send Email Send Email

Forward
Message #430 of 529 |
Expand Messages Author Sort by Date

var scpt = new MacOS.OSA(MacOS.OSA.AppleScript); try { scpt.compile( 'AppleScript compile-time error' ); } catch(e) { MacOS.message( 'I never see this...' ) } ...
Arthur Knapp
admiralnovia
Offline Send Email
Dec 18, 2003
6:24 pm

... Bug filed. Cheers -Mark ... Mark Alldritt Late Night Software Ltd. Phone: 250-380-1725 333 Moss Street FAX:...
Mark Alldritt
malldritt2000
Offline Send Email
Dec 18, 2003
6:51 pm

I upgraded to FileMakerPro 7.0 from version 5.5. The following is no longer working to access the value of the field. aName =...
Hardy Machia
hardymacia
Online Now Send Email
Mar 19, 2004
1:33 am

... I've not had a chance to look at the FMP7 scripting interface, but it looks like the name of something may have changed. I seem to recall the notion of ...
Mark Alldritt
malldritt2000
Offline Send Email
Mar 19, 2004
4:14 pm

Date: Fri, 19 Mar 2004 08:14:26 -0800 ... Hi Mark, It's been almost a year so I decided to try to update my databases to FileMaker 7.0 again. I forgot that it...
Hardy Machia
hardymacia
Online Now Send Email
Mar 8, 2005
5:23 am

PS: Here is the AppleScript that does what I want: tell application "FileMaker Pro" tell current record of layout "Data Entry View" set userID to cell "User...
Hardy Machia
hardymacia
Online Now Send Email
Mar 8, 2005
2:59 pm

... I don't have FileMaker, so... what happens when you simply do this? fmp = MacOS.appBySignature( 'FMP7' ); fmp._strict = false; userID = fmp.layout[ 'Data...
arthur@...
admiralnovia
Offline Send Email
Mar 8, 2005
4:53 pm

... Thanks for the help. Here is the error I get... AppleScript Error TypeError: fmp.layout['Data Entry View'].current_record.cell has no properties The result...
Hardy Machia
hardymacia
Online Now Send Email
Mar 9, 2005
2:15 am

While, I try to figure out how to access a cell in a FileMaker 7.0 database, I figured I should try some work arounds. I can get the string data to a variable...
Hardy Machia
hardymacia
Online Now Send Email
Mar 10, 2005
6:39 am

... Note to self - RTFM... While this is a long about way around to get and set field values in FM 7 - I'm embedding AppleScript inside of the JavaScript...,...
Hardy Machia
hardymacia
Online Now Send Email
Mar 10, 2005
2:37 pm

... Yes, it works both ways: set utc to run script "new Date().toUTCString()" in "JavaScript" -- --> "Thu, 10 Mar 2005 15:33:38 GMT" Cheers, Arthur J. Knapp...
arthur@...
admiralnovia
Offline Send Email
Mar 10, 2005
3:35 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help