OK, I lied, I have another question. I added the form but now I need to delete it. The code below is not working. It doesn't return an error so it should be deleted but when I check the forms for the printer the DBMEMO form is still listed:
ooo = NEWOBJECT("AddPrinterForm")
IF NOT ooo.DeleteForm("DBMEMO",lcprinter)
lcmessage= ooo.cErrorMessage
lcmessage=lcmessage+CHR(13)+ooo.cApiErrorMessage
=MESSAGEBOX(lcmessage,0+16+4096,'An Error Ocurred.')
ELSE
=MESSAGEBOX('Deleted the form: DBMEMO',0+64+4096,'SUCCESS')
ENDIF
ooo = NULL
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"