DBAchick
Programmer
- Apr 27, 2000
- 61
Is it possible to set a variable and have it as part of a Declare statement?<br><br>My Declare Statement points to a file in a specific directory on a server named mapser1. It looks like this:<br><br>Declare Function UserRead Lib "\\mapser1\appmed$\source\hal\xlfutl32.dll"<br><br>I need the 'med' in appmed$ to be a variable. It will always be 3 other letters, but those three letters are not known until the database is opened and the letters are entered into a field on a form.<br><br>Is this possible or am I breaking the laws of programming.