KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: This command can't be used because a record of the table is in a form
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: September 23, 2005

Does the PRINT RECORD command in a button (object method) give the error:

"This command can't be used because a record of the table is in a form."?

If this database has been upgraded from an older version of 4D some attributes may have been set by default. Create a fresh button and compare the attributes of your problem button and the fresh button. If the problem button has the On Header, On Printing Break, On Printing Detail, On Printing Footer, On Display Detail attributes checked, they could have been set by default when converting from v3.x (where they didn't exist) to v6. Apparently v6 didn't mind them being checked, but v2004 does. Uncheck the options listed above for this object.