[AccessD] Erasing / clearing a user defined type

Gustav Brock gustav at cactus.dk
Thu Jul 15 02:27:51 CDT 2004


Hi Mark

> This is a question I've been meaning to ask for a while and never got
> round to it... Is there a simple one line way to erase / clear a UDT
> after its finished with, as opposed to clearing the variables within it
> individually?

Not that I know of. But you define a global variable as your UDT. This
will, of course, be empty. Then, when you need to "reset" your local
variable, set it to the global variable:

  Dim tLocal As MARK
  <do stuff>
  tLocal = tEmpty

/gustav




More information about the AccessD mailing list