Walden H. Leverich wrote:
which should have been typed as a Variant

ewwwww.... Variants == evil! :-)
Were you just using that word to scare us on Halloween?

Not at all. In fact I remember having to use a variant for a particular piece of programming. Don't remember the application of it, but it seemed quite necessary. I think it was when I presented the typical File Open dialog box, if the user selects one file, the return type is string, but if they select more than one file, the return type is an array of string fields. I then had to do a field type query on the variant to determine what to do next.

The reason I recommended using a variant for this thread's original problem was to see what the returned variable and value were being set to when it operated incorrectly.

Bill

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.