Announcement

Collapse
No announcement yet.

UDTs -- dumb question here

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UDTs -- dumb question here

    Code:
    DECLARE FUNCTION MyFunction(var AS LONG) AS MyUDT
    Is this illegal? Does anybody have a workaround? The UDT I'm working with is 1800 bytes long.

    UDT members are mostly strings, but there are some LONGs and a couple of BYTEs in there also.
    Last edited by StanHelton; 19 Mar 2008, 01:57 PM. Reason: Add more detail to problem description
    Do not go quiet into that good night,
    ... Rage, rage against the dark.

  • #2
    No that is not supported. One workaround is:

    Code:
    DECLARE FUNCTION MyFunction(var AS LONG, BYREF tOut AS MyUDT) AS LONG
    kgpsoftware.com | Slam DBMS | PrpT Control | Other Downloads | Contact Me

    Comment


    • #3
      Excellent !! That solves my problem. Thanks Kev. :worship:
      Do not go quiet into that good night,
      ... Rage, rage against the dark.

      Comment

      Working...
      X