Results 1 to 2 of 2

Thread: MyDb1.dbUnit=?

  1. #1
    Kim Richardson Guest

    MyDb1.dbUnit=?

    Hello gang,

    Would you please help me understand more clearly the MyDb.dbUnit concept?

    1. I have read that you cannot use the name Unit# on different pages. I assume that is within the same directory. Is that correct?

    2. I have seen you put a letter in front of the Unit# (e.g. B201), but when I did that and exported the fields it gave me an error. When I took off the letter, it worked fine. Can we use letters?


    Thanks,

    Kim



  2. #2
    Frank Guest

    MyDb1.dbUnit=? (reply)

    This works,

    <%
    Set X = Server.CreateObject(&#34;AspDB.Pro&#34
    X.dbDSN=&#34;NWIND&#34;
    X.dbSQL=&#34;SELECT * FROM EMPLOYEES&#34;
    X.dbUnit=&#34;X5X&#34;
    X.dbExportflds=&#34;1&#34;
    X.ASPDBPro
    response.write(&#34;<HR>&#34; & session(&#34;ASPDB_X5X_LastName&#34)
    %>


    FK

    ------------
    Kim Richardson at 3/31/99 9:18:23 AM

    Hello gang,

    Would you please help me understand more clearly the MyDb.dbUnit concept?

    1. I have read that you cannot use the name Unit# on different pages. I assume that is within the same directory. Is that correct?

    2. I have seen you put a letter in front of the Unit# (e.g. B201), but when I did that and exported the fields it gave me an error. When I took off the letter, it worked fine. Can we use letters?


    Thanks,

    Kim



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •