OK, here's some tips: make sure to specify that you're using ODBC (unless you want to use ADO, basically the same to the programmer but sometimes handles dates and such better). This presumes you have a system DSN set up. (Start > Settings > Control Panel > ODBC Data Sources (iirc)) Then the connect string is something like "dbi:odbc:DSN_NAME_HERE". Take it from one who knows: if you have ANY way to get around using access as a datastore, do so. Just an example: numbers aren't quoted, strings use the character "'", and dates use the character "#". Also, the access sql interface (jet) does not use standard wildcard characters, but odbc translates that for you, so you have to remember things like "% in the script but * in the program". Oh, and of course their equivalent to the 'LIMIT' clause most other databases use to specify "only give me the first N rows of a dataset" is "TOP". Non-standard. Buggy. Baaaaah. Hate hate hate hate access. If you can, just use MySQL on win32 (mysql.com). Free and _far far_ better...

In reply to Access Databases And You by Anonymous Monk
in thread Accessing database on the network. by manoorani

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.