ricardito Posted April 13, 2006 Posted April 13, 2006 I'm looking but can't find a way to list just the layouts for a given table in a file. Any help? Thanks, r
B-Man Posted April 13, 2006 Posted April 13, 2006 You would have to loop thru each layout and on each layout you would If(GetLayoutTableName) = "TblIamlookingfor";Get(LayoutName);"") Hope this helps.
-Queue- Posted April 13, 2006 Posted April 13, 2006 If you use a global to hold the list of layout names and one to hold the table name you are currently seeking, then Freeze Window Go to Layout[1] Set Field [someTable::globalLayoutNames; ""] Loop If [Get(LayoutTableName) = someTable::globalTableToFind] Set Field [globalLayoutNames; someTable::globalLayoutNames & Get(LayoutName) & ¶] End If Exit Loop If [Get(LayoutNumber) = ValueCount(LayoutIDs(Get(FileName)))] Go to Layout [Get(LayoutNumber) + 1] End Loop Go to Layout [original layout] should work for each table name you enter in globalLayoutNames.
Recommended Posts
This topic is 6800 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now