On 14/03/2008, at 9:46 PM, Geetha Arasu wrote:
Variable..
Declare it with a ptr...
Char *cP;

Not that way or you'll get a crash. StrPrintF needs an initialized pointer.

Char cP[20];
Int num=6
StrPrintF(cP, "%d", num)- %d is for integer
ErrFatalDisplay(cP)

This assumes your display string is less than 19 characters. There's no checking of the length though so make use your buffer is big enough for the string you're writing into it.

--
Link



--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to