dbTalk Databases Forums  

Find Mode question

comp.databases.filemaker comp.databases.filemaker


Discuss Find Mode question in the comp.databases.filemaker forum.



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

Default Find Mode question - 10-27-2006 , 03:02 PM






The short version: Is it possible to restrict the records in a Found
Set based on Layout Name without scripting?

I'm using FMA 8.0v2 on Mac OSX to develop for 7.0-8.5.

The long version:

I've got a legacy database that I'm upgrading. The client has been
using 6 tables to accomplish what I think could be done with two. They
have two tables each for Sales, Transfers, and POs: SalesOrders,
TransferOrders, and PurchaseOrders and SalesLineItems,
TransferLineItems, and PurchaseLineItems.

I want to consolidate them all into two tables: Orders with a field
TypeOrder and Transactions with a field TypeTransaction. I will keep
the three different Order layouts as they capture different
information.

The clients are used to working directly with the New and Find
commands.

When making a new Sales Order, I can ensure TypeOrder is set with an
Auto-Enter calc = Case(Get(LayoutName) = "SalesOrder"; "Sale";
Get(LayoutName) = "PurchaseOrder", and so on.

But I can't (and don't know if it's possible) to allow users to Apple-F
while in one of the Orders layouts and get results that include just
those TypeOrder.

I could use Custom Menus to restrict that I suppose, but I'm a leery of
CMs as I've had one irrecoverable crash after working on them in
another file. Also, are Custom Menus functional in 7.0?

Thanks,
G


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Find Mode question - 10-28-2006 , 07:51 AM






Short answer: No.

Finds are tied to the Table. Except for the obvious (which fields are
available to search), the layout plays no part in the Find.

Matt

In article <1161979334.120593.182480 (AT) f16g2000cwb (DOT) googlegroups.com>,
"Grip" <grip (AT) cybermesa (DOT) com> wrote:

Quote:
The short version: Is it possible to restrict the records in a Found
Set based on Layout Name without scripting?

I'm using FMA 8.0v2 on Mac OSX to develop for 7.0-8.5.

The long version:

I've got a legacy database that I'm upgrading. The client has been
using 6 tables to accomplish what I think could be done with two. They
have two tables each for Sales, Transfers, and POs: SalesOrders,
TransferOrders, and PurchaseOrders and SalesLineItems,
TransferLineItems, and PurchaseLineItems.

I want to consolidate them all into two tables: Orders with a field
TypeOrder and Transactions with a field TypeTransaction. I will keep
the three different Order layouts as they capture different
information.

The clients are used to working directly with the New and Find
commands.

When making a new Sales Order, I can ensure TypeOrder is set with an
Auto-Enter calc = Case(Get(LayoutName) = "SalesOrder"; "Sale";
Get(LayoutName) = "PurchaseOrder", and so on.

But I can't (and don't know if it's possible) to allow users to Apple-F
while in one of the Orders layouts and get results that include just
those TypeOrder.

I could use Custom Menus to restrict that I suppose, but I'm a leery of
CMs as I've had one irrecoverable crash after working on them in
another file. Also, are Custom Menus functional in 7.0?

Thanks,
G

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.