Hi all, I have an embarrassing question that I should know the answer too but my memory is waaaay faulty today. Below is a code snippet, what I'm trying to do is access a global variable to use it's value for something in a function but part of the variable name is being sent as a parameter, it's a number from 1 to 10. So the code below for example should be accessing this
Global gStandard1DataRef If I use LoadDataSet 1 Here's my faulty code on LoadDataSet stdnum Global "gStandard"&stdnum&"DataRef" End Needless to say this does not work and I've tried all string variations using the static text either side of the parameter and I just cannot seem to access the global variable within the function..........help!!!!! :) Thanks in advance and feel free to slap if I'm doing something so obviously wrong! Peter Witham Internet and Multimedia Solutions (817) 280 9367 http://www.evolutiondata.com icq: 4436851 MSN Messenger: [EMAIL PROTECTED] Member: National Association of Photoshop Professionals [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]