[repost] Re: merge property profiles?

Alex Rice alrice at arcplanning.com
Wed Aug 27 18:07:01 EDT 2003


Any ideas on this one?
Would it be bad etiquette to post to the metacard list with this same 
question?

--

Can anyone see why this script doesn't work? It apparently has no 
effect on the Master profile. Script generates no errors, but the 
properties are not getting set into the Master profile. "SectHead" does 
exist in profileList and puts about a few dozen property names into the 
message box:

put the cRevGeneral["profileList"] of fld id 2368 into tProfiles
if "SectHead" is among the lines of tProfiles then
   set the profile of fld id 2368 to "SectHead"
   put the properties of fld id 2368 into tProps
   put the keys of tProps -- msg box
   set the profile of fld id 2368 to "Master"
   set the properties of fld id 2368 to tProps
end if

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com




More information about the use-livecode mailing list