KristjanM Posted September 14, 2023 Share Posted September 14, 2023 I have a number of slabs from which I draw data. I have two custom object fields which have a macro definition. The area column of the schedule provides a total. The custom object fields do not even though they are using the same area number (a formatted version). This would lead me to think that a custom object field cannot be a number (float or integer) but rather is defined as a string. Correct? Can I get a total from a custom object field? Do I need to convert the custom object string to a float? Link to comment Share on other sites More sharing options...
TeaTime Posted September 14, 2023 Share Posted September 14, 2023 6 minutes ago, KristjanM said: The custom object fields do not even though they are using the same area number (a formatted version). This would lead me to think that a custom object field cannot be a number (float or integer) but rather is defined as a string. Correct? While we're waiting for the macro whizzes to show up, I think the issue is that formatted values can only be stored as a string. I don't know that custom fields have a limitation on how they're stored. Link to comment Share on other sites More sharing options...
KristjanM Posted September 14, 2023 Author Share Posted September 14, 2023 Even if I apply a non formatted macro (eg. ABOVE GRADE has a value of %area%), I do not get a total. It would seem the custom field is not stored as a number. Link to comment Share on other sites More sharing options...
TeaTime Posted September 14, 2023 Share Posted September 14, 2023 Ah. Well I suppose I stand corrected! Sitting down now! Link to comment Share on other sites More sharing options...
Renerabbitt Posted September 14, 2023 Share Posted September 14, 2023 1 hour ago, KristjanM said: I have a number of slabs from which I draw data. I have two custom object fields which have a macro definition. The area column of the schedule provides a total. The custom object fields do not even though they are using the same area number (a formatted version). This would lead me to think that a custom object field cannot be a number (float or integer) but rather is defined as a string. Correct? Can I get a total from a custom object field? Do I need to convert the custom object string to a float? currently only have the ability to total specific columns to include. You would need to find another method to populate totals. You could do this with a totals object that reports to schedule with its own custom field which does the total calcs for you through a macro that you script. Keeping in mind it would have its own column and row so may not be formatted the way you want: Link to comment Share on other sites More sharing options...
KristjanM Posted September 14, 2023 Author Share Posted September 14, 2023 "currently only have the ability to total specific columns to include" Not sure what this means. I only see a check box for "Display Totals Row". No option regarding columns. Of course my wife says I'm blind on occasion, so I might have missed something. Link to comment Share on other sites More sharing options...
Renerabbitt Posted September 14, 2023 Share Posted September 14, 2023 12 minutes ago, KristjanM said: "currently only have the ability to total specific columns to include" Not sure what this means. I only see a check box for "Display Totals Row". No option regarding columns. Of course my wife says I'm blind on occasion, so I might have missed something. bold indicates a searchable term or phrase in the help files. There are only certain built in columns to include within schedules that have the ability to report values to a totals row. Your custom field will not be able to report to a totals row Link to comment Share on other sites More sharing options...
KristjanM Posted September 14, 2023 Author Share Posted September 14, 2023 Got it. That tip will help in the future. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now