Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

director and access 1

Status
Not open for further replies.

magazine

Programmer
Jun 20, 2003
4
PT
Hello.

First doubt: (Acess)

How to put a video (.mov)?
I’m inserting it by OLE Objects – Create from file

How to put an image (.jpg)?
I’m inserting by OLE Objects – Create new from Bitmap Image


Second doubt: (Director)

set sqlString= "SELECT video FROM videogesto WHERE IDgesto = 1"

erase member 53

DGRSImportResource(member 53, "video", rsHandle)

Note1:
This is the function to import the image and the video.
Note2:
Instead of just giving the image for IDgesto 1, we can see the same image for all IDgestos.



Third doubt: (Director)

It is possible to put on the same code several sqlString?

set sqlString= "SELECT designacao FROM gesto WHERE designacao = '" & pesquisa & "'"

set sqlString= "SELECT video FROM videogesto WHERE IDgesto = 1"

We want to retrieve text, video and images at the same frame on different casts members.
It is possible?
:)
Thank you.









 
It's not a good idea to put large files like video to a database. you can store path and filename in database and stroe video file externel.
 
Hi magazine,
I'm also trying to access a database.
Is it possible to use SQL in Director?
If so, how?
Anyone who has work with the query language in Director, please help me out.
Thanks.
 
Hello qazs.

I use sql querys to retrieve data from a access database.
But you have to use a xtra, in my case, we are using datagrip.

Datagrip is an extension Xtra for Macromedia Director and Authorware that provides a powerful and simple interface to Microsoft Access-format databases .

It's easy. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top