2089 Views    -    12 Replies
Username Post: Row Highlight Selection Example File        (Topic#202233)
dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
03-15-09 02:58 PM - Post#320413     - Post Rank:             


The attached file is an example of how you can do the following:

1) The active record is automatically highlighted when you access a record
2) Ctrl + click on a record to highlight more than one record at a time
3) Shift + click to highlight all records between the currently active record and the one you click on
4) Click the "View Highlighted" button to view only the highlighted records in a new window
5) now open a new window and do all of the above again - each window has it's own set of highlighted records!

All documentation is in the file. Requires FileMaker 10.


keywords: highlight current record, hilite row, hilite record, select row, select records

Attachment: RowHighlightSelection.zip (17.38 KB) 253 View(s)












Vaughan 
Mostly Harmless
Posts: 8179
Vaughan

Loc: Sydney, Australia
Post Rank (AVG):
            


FMP: 9 Advanced
OS: Mac OS X Leopard

Member: TechNet
Skill: Advanced

Certified:
     



Tweet This! Tweet This Post!
03-15-09 05:36 PM - Post#320421     - Post Rank:             
    In response to dansmith65

You need to add a trap in the file's startup script to prevent it from being opened in versions earlier than FMP 10. I just spent a few minutes looking at it, wondering why nothing was happening. I use FMP 9.0v3.
Vaughan Bromfield Sydney, Australia Please post questions to the Forum, not directly to me. Back-up your files before making changes! Whenever I hear the term "popular culture" I reach for my Iridium Q-36 Space Modulator.











Vaughan 
Mostly Harmless
Posts: 8179
Vaughan

Loc: Sydney, Australia
Post Rank (AVG):
            


FMP: 9 Advanced
OS: Mac OS X Leopard

Member: TechNet
Skill: Advanced

Certified:
     



Tweet This! Tweet This Post!
03-15-09 05:39 PM - Post#320422     - Post Rank:             
    In response to Vaughan

It looks good in FMP 10. Well done!
Vaughan Bromfield Sydney, Australia Please post questions to the Forum, not directly to me. Back-up your files before making changes! Whenever I hear the term "popular culture" I reach for my Iridium Q-36 Space Modulator.











dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
03-15-09 07:31 PM - Post#320425     - Post Rank:             
    In response to Vaughan

  • Vaughan Said:
You need to add a trap in the file's startup script to prevent it from being opened in versions earlier than FMP 10.


Thanks for telling me about this - I hadn't thought of it. I just updated the attachment to include this.










Vaughan 
Mostly Harmless
Posts: 8179
Vaughan

Loc: Sydney, Australia
Post Rank (AVG):
            


FMP: 9 Advanced
OS: Mac OS X Leopard

Member: TechNet
Skill: Advanced

Certified:
     



Tweet This! Tweet This Post!
03-15-09 08:32 PM - Post#320427     - Post Rank:             
    In response to dansmith65

I got caught on this a couple of years ago.

I'd done some sub-contracting work for a new client (legal firm). He phoned me about 9:00 pm telling me that nothing that I'd done that day would work... it took about 30 minutes to work out that he was using FMP 7 and the database was written with variables that require FMP 8.5.

As a consequence, all of my files now have a version check in the startup script.
Vaughan Bromfield Sydney, Australia Please post questions to the Forum, not directly to me. Back-up your files before making changes! Whenever I hear the term "popular culture" I reach for my Iridium Q-36 Space Modulator.











dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
03-22-09 02:40 PM - Post#321027     - Post Rank:             
    In response to Vaughan

I had meant to cite this reference: http://www.ulearnit.com.au/blog/?p=55

That is where I first saw how to highlight the current record. When I first posted, I couldn't find that link.










Jorgitopeter 
enthusiast
Posts: 91

Post Rank (AVG):
            


FMP: 9 Advanced
OS: Windows XP
Skill: Novice



Tweet This! Tweet This Post!
04-02-09 02:07 PM - Post#322064     - Post Rank:             
    In response to dansmith65

Hi my friend, it's really really great in FM10... but is there any way to do the same in FMP9??
Thanks a lot.
Great Job.










dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
04-02-09 03:18 PM - Post#322070     - Post Rank:             
    In response to Jorgitopeter

Thanks! I'm glad you like it. Here is what I know is not compatible with FMP9:

ViewHighlighted Script:
- Set Field By Name function
- GetFieldName function

RowHighlight
- GetFieldName function

Script Triggers


The functions can easily be replaced with FMP9 compatible functions - I believe you would just have pass the fully qualified field name to the scripts, and hard-code the set field in the ViewHighlighted script. This would mean that you would need a new ViewHighlighted script for every table.

Here are some links to free plug-ins that could possibly replace the script trigger from FMP10:
http://www.myfmbutler.com/index.lasso?p=416
http://www.softs4humans.com/FMPro_Plugins.html










dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
09-23-09 11:37 PM - Post#341219     - Post Rank:             
    In response to dansmith65

I've been at it again. I have updated this feature to include check box selection. I think they are more like two separate features, but I found a few issues I had to deal with to get them to work together nicely, so I included them in the same file. I also made some improvements which are listed in the file.

I was also trying to get this to work with FileMaker 9, but was not able to. I just don't think it's possible. Instead, I made a check box selection file which is compatible with FileMaker 9.

Attachment: RowHighlightSelectionV3_FM9.zip (24.98 KB) 57 View(s)
Attachment: RowHighlightSelectionV3_FM10.zip (28.44 KB) 86 View(s)












comment 
consultant
Posts: 15253
comment

Post Rank (AVG):
            


FMP: 7 Advanced
OS: Mac OS X Panther



Tweet This! Tweet This Post!
09-26-09 12:18 PM - Post#341389     - Post Rank:             
    In response to dansmith65

See:
http://fmforums.com/forum/showtopic.php?tid/188674/










Peter (duksis3) 
apprentice
Posts: 167

Loc: Latvia
Post Rank (AVG):
            


FMP: 10 Advanced
OS: Cross Platform
Skill: Advance



Tweet This! Tweet This Post!
09-26-09 01:39 PM - Post#341393     - Post Rank:             
    In response to comment

Some formating functions I cannot see so I have a question - is it similar to Matt Petrowsky version published on ISO productions on FoleMaker Magazine?
Peter
www.hierarchy.lv











dansmith65 
enthusiast
Posts: 51

Post Rank (AVG):
            


FMP: 10 Advanced
OS: Windows Vista
Skill: Advance



Tweet This! Tweet This Post!
09-28-09 06:25 AM - Post#341456     - Post Rank:             
    In response to comment

comment,
I finally got a chance to check out your link. I stand corrected - You can highlight the current record prior to FM10!


  • Quote:
Some formating functions I cannot see so I have a question - is it similar to Matt Petrowsky version published on ISO productions on FoleMaker Magazine?


I couldn't access his video, but it sounds like he used a similar method to highlight the active row. Although, he has two versions of this feature. One meant to work prior to FM10, the other uses script triggers so only works with 10. His version that works with FM prior to 10 is similar to the method comment linked to.

My method of highlighting the current record is not new or unique. My link to the ulearnit.com site in a previous post shows how I implemented it.

What is unique about my example is that you can Ctrl+click and Shift+click to highlight more than one record, and each window has it's own set of highlighted records.










Peter (duksis3) 
apprentice
Posts: 167

Loc: Latvia
Post Rank (AVG):
            


FMP: 10 Advanced
OS: Cross Platform
Skill: Advance



Tweet This! Tweet This Post!
09-28-09 08:33 AM - Post#341465     - Post Rank:             
    In response to dansmith65

OK, thank's!
Peter
www.hierarchy.lv











Icon Legend Permissions Topic Options
Print Topic

Email Topic

2089 Views
Welcome Guest...
Enter your username and password to login. If you do not have a username you can register one here

Username

Password

Remember me. Help



Forgot Password...


Quick Links
Recent Posts
Active Topics
No Replies
Recent Files
Functions & Scripts
FileMaker Pro Help
FileMaker on Twitter
FileMaker Marketplace

Custom Search

Find FileMaker Developers

Don't have time to wait,
hire a developer now!

Recent Members
Welcome them to our community!
Find FileMaker Jobs

Want a new career?
Find your new job now!

Joy of Tech
Latest Joy of Tech!

Recent Topics
Recent Hot Topics
Contribute
With your generosity we can make some real magic happen!. Support your favorite online FileMaker community...
FM Forums.com


Click here...


Or a Donation of any amount.


Thanks for your support!

Active Blogs
0 Recent blogs:
People to Post Lately in this Topic
Vaughan
dansmith65
Jorgitopeter
comment
Peter (duksis3)
FM Forums Advertisers


FusionBB™ Version 3.0 FINAL | ©2003-2010 InteractivePHP, Inc.
Execution time: 2.195 seconds.   Total Queries: 162   Zlib Compression is on.
All times are . Current time is 09:03 AM
Content ©1996-2008 Ocean West Consulting, Inc. All Rights Reserved
Ocean West Consulting, Inc. can not and will not be held responsible for any of the contents in this site.
FM Forums™ is a trademark of Ocean West Consulting, Inc an independent entity, not affiliated with FileMaker Inc.
FileMaker® is a registered trademark of FileMaker Inc.
Top