Thanks Bill, that works nicely.

I don't know now what "viewablecolumns" is supposed to track since the number of columns in view at any given moment is different from it and the total number of columns is different from it.

And what's the difference between "currentview" and "formattedview"?

Best,
russ



Russ McBride
Programmer/Analyst
The Scholar's Workstation
University of California at Berkeley
510-643-6853


On May 30, 2006, at 2:37 PM, Bill Marriott wrote:

If you're trying to determine how many columns the actual data has, as
opposed to how many columns are visible, the following would work (though I
don't know if it is the fastest or most clever method):

put 0 into maxTabs; set the itemdelimiter to tab
repeat for each line x in fld "theField"
  if the number of items in x > maxTabs then \
    put the number of items in x into maxTabs
end repeat

I agree with you that the table object is extremely frustrating.

Russ McBride wrote:

Anyone know how to get the actual number of columns and rows in a table
field (not the "viewable" number of columns and  rows?



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to