cancel
Showing results for 
Search instead for 
Did you mean: 

Over 40 (chars in object name) = Over the hill?

Former Member
0 Kudos

These are in the PB Help (highlighting is mine):

Naming the user object

A user object name can be any valid PowerBuilder identifier up to 40 characters. For information about PowerBuilder identifiers, see the PowerScript Reference.

Naming the function

Name the function in the Function Name box. Function names can have up to 40 characters. For valid characters, see the PowerScript Reference.

Naming the DataWindow object

The DataWindow object name can be any valid PowerBuilder identifier up to 255 contiguous characters

--------------BUT------------------

Painter Save dialogs do NOT enforce the rule!  Here’s a 45 char named CCUO I just saved

Count the chars for yourself

The issue surfaces on Export - the name is silently TRUNCATED at 40 chars

The BIGGER issue surfaces in the SCC interface where the export header names doesn't match file names.  Look:


SAP fix this bug:  In the meantime: Monitor your object names carefully.  You never know what can happen when you get to be over 40!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes, this is a big problem. There are more limitations: If you want to inherit from an object with a long name Powerbuilder may crash on open or save the descendent object.