title: Connect foxpro to sybase ASE
body: <p>i'm trying to connect to Sybase ASE 11.5 / 12.5 from visual foxpro 5.0 or 9.0 but I can't make it work. I already connect foxpro to MSSQL using the following string.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>conexion = "Driver=SQL Server;server=" + lcServidor + ";uid=" + lcUsuarioSQL + ";pwd=" + lcPass + ";database=" + ALLTRIM(lcBaseDatos)</code></pre>
  </div>
  </div>
  </p>
  
  <p>Nevertheless, if I change the string to a Sybase one; eg: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>"Driver={SYBASE ASE ODBC Driver};Srvr=Aron1;Uid=username;Pwd=password"</code></pre>
  </div>
  </div>
  </p>
  
  <p>SQLSTRINGCONNECT(conexion) returns bad code / error</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance!</p>