When you are using a table pointer, you cannot use the pointer to display the name of the table. To do this, you must use the command, "Table name". The following is an example of how you would use "Table name".
If (Modified record($1->))
CONFIRM("Would you like to save the record in "+Table name($1)+"?";"Save";"Don't Save")