Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
3D SpeedPort Xtra
Manipulating Date and Time using Lingo
NailPolish
Integer to Hex
Large Integer and Base Conversion Integer Parent Script
Pass handler to next Sprite
Double Char Fix - D 7.0
Select From DropDown List
Glu32
Sortem
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