You can try simple pointer tricks like: char* pText = "hello world"; pText = \0;
/* That would effectively "delete" the string;*/ /* assert(strlen(pText) == 0); */ you could also use MemSet(); MemSet(pText, StrLen(pText), 0); Farzin Ashraghi <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi! > > I'm trying to delete a "char" variable using: > StrCopy(charP, ""); > where charP is the pointer to that char, but it doesn't work. > > Could you help me please, > Farzin > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/