>Thanks Craig for the suggestion. This sounds like a nice way to go. How do I record limit my tables? Does VFP provide for that? I can't find any documentation in the help text.
>
>Do you know of any limitations on running an application off of a CD. I understand that probably will have to set up a temporary directory on the hard drive(eg an installation), but where will the VFP dll reside? Does that need to be installed as well?
>
>Thanks again for your suggestions.
>Mike
To limit the number of records to be added, create a property in your application class. Set the value to "DEMO". Then, in your add code, check this value. If = "DEMO" and RECOUNT("Table") = 10 (or whatever), display a message "Can't add in demo mode".
To run from CD, create a network setup with the setup wizard. Don't include the data in the setup...just leave it on the CD.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer