Results 1 to 4 of 4

Thread: mdf file

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    mdf file

    hello!
    i am using .mdf file does anybody knows
    what is the max. file size in .mdf? in access database it has a limit up to 2GB.
    anonther info. i attached the .mdf in the prgram the same as using in access database

    con = @"data source...\databse.dbf... ===> access
    con = @"Data Source=.\SQLEXPRESS;AttachDbFilename=\database.mdf ==> mdf

    tnx much

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: mdf file

    another is i want to connect it in crystal report
    i use this in saving, edit, delete and insert and ti works fine
    X:\CMQSTest\bin\Debug\CMQSTest.mdf
    but in crystal report how?

    tnx

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: mdf file

    SQL Server Express imposes a 4GB limit on databases, but MDF files can be much larger when accesses through SQL Server.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: mdf file

    how about the question below?

    i am using .mdf file, you can see this in adding in c# IDE(right click then new item then choose SQL database)
    i use this in saving, edit, delete and insert and it works fine
    X:\CMQSTest\bin\Debug\CMQSTest.mdf

    but in crystal report how to connect the .mdf file?
    under the field explorer of crystal report
    i chose new Create New Connection in Database expert
    i only using MS Jet 4.0 OLE DB (using access) in this .MDF file how?

    note:
    crystal report and SQL database (.mdf) both created in C# IDE

    tnx

Posting Permissions

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



Click Here to Expand Forum to Full Width