Jump to content

CurtWhit

Newbies
  • Posts

    2
  • Joined

  • Last visited

CurtWhit's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thanks. These are the first lines of the "open" script: Set Field [ courses_syllabi0708::MyCollection; "1" ] Commit Records/Requests [ No dialog ] Show Custom Dialog [ Title: "Error"; Message: Get ( LastError ); Buttons: “OK” ] I'm using the dialog just to see what the error code is so I can program to it. It always gives me "0" even on CD.
  2. I am distributing a catalog of university courses on CD-ROM. Users can use the runtime solution on the CD to browse, search, and sort. But I also have a feature where they can add courses to a "collection" (like a shopping cart, but without any transactions). I've set up appropriate privileges for this field. This "flags" the course record. Obviously, they can't do that while running from the CD because they can't modify the "flag" field if the solution is on read-only media. So I would like to be able to detect at startup if they're on a non-writable volume (the CD). I can't figure out how. I've tried writing a random record in the open script. It gives the error that the file is not modifiable. But when I try to capture that error, it responds with code "0" - no problem. Any ideas how I can tell if the runtime is on a read-only volume so I can instruct the user to copy it to HD?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.