Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
RGB to CMYK
StuntRacer
convert to upper or to lowercase
Rotator 1.1
Display the cursors position
Key Code
Useful list functions
OSControl Xtra Review
get and set a mp3's ID3tag I !
zWinVer Xtra
MediaMacros Xtras Mall
 

 

 

FAQ Checking an open database - Valentina

Added on 4/3/2001

 

Compatibilities:

Required Xtras:
Valentina

This item has not yet been rated

Author: Thomas (website)

How can I check if a global contains an open database?

You can find out if a global (or any variable, or property) contains an open database by using the script below.

on testIfDatabase vDB
-- Check if the value is a child of the VDatabase Xtra
if string(vDB) starts "-- Check if this child has a database reference otherwise
-- openDatabase() has probably not been run succesfully
if vDB.getRef() <> 0 then
return TRUE
end if
end if
-- Not an open database
return FALSE
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail