This content has been marked as final. Show 3 replies
Most of the database xtras come with a database management program. For
instance, I know that both Valentina and Arca have dedicated programs to
adding, changing, and otherwise manipulating the data in the database.
If you don't want that, it is pretty easy to write such a thing, since
all the database xtras have Lingo functions to read and write to the
database, so you can make a simple program that is just an interface for
Making the other part of the program to just display stuff from the
database is even easier.
It may be easier (and definitely cheaper) to not use a database per se,
instead just use Lingo lists. It depends on the quantity and types of
the data. If you just need it to store name, address, phone number, and
photo of <1000 people, and the photo portion can be an external image,
then a Lingo list is the way to go. I just made that 1000 number up,
there is not real cutoff, but after a list gets real big, it can get
difficult to manage. I have heard of folks using 10000 item lists
You can make a program that manipulates the list pretty easily using the
Lingo commands setAProp, addProp, and deleteProp (check the help files
for more details on those commands)
-- [#email: "email@example.com", #photo: "mike.jpg", #phoneNumber:
In this case, I only have info about 1 person. But you can use setAProp
to set info about as many fols as you want. And if all of the photos
are in for instance, a folder called "photos" under the folder that the
Director project is in, you could use a command like this on a bitmap
sprite to display it *this one is Windows only, if you needed it to be
Mac compatible, then make sure you can use Mac foldername converntions,
(i.e. colon as folder delimiter instead of the backslash):
on changePhoto me, vPerson
That function will cause the photo to change if you send it a command
As far as saving the database to a file, there are loads of xtras that
can do it, the best ones, I think is propSave (which is free) or vList.
In fact, now that I think of it, I believe that both of them can save
image data into a list, so you may not even need to keep the images as
Thanks Mike for your reply. Much appreciated.
I can see how using lists would be a cheaper option I'm just wondering if the dabse expand if it woudl eb
better to start with a dbase now. Anywya, may look at some database xtras and do some experimenting, plus
find out moer details about this projects.
If you would like any questions answered about using Valentina, feel free to contact me or visit our very active mailing list.
Makers of Valentina for Director