Excellent tip! You're absolutely correct that this works. Just suspend code, then from the development platform you open the report and then right-mouse and select preview. VFP will usually show you exactly where the error is.
Mike > Do the following, put a SUSPEND just before the REPORT command, then > call the DEBUG, then click on the report and execute the print, should give u > the error. > > HTH, E. > > > > ----- Mensagem original ---- > De: Ken Dibble<[email protected]> > Para: [email protected] > Enviadas: Quarta-feira, 20 de Abril de 2011 21:41:34 > Assunto: RE: Weird report error > > >> I have a report form that works great as long as PREVIEW is one of the >> options. >> >> REPORT FORM PARKLST1 TO PRINTER PROMPT NOCONSOLE PREVIEW >> >> If I remove the PREVIEW option then I get an error: >> >> "Function argument value, type, or count is invalid" >> >> So why does the report work fine if PREVIEW ? [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

