Add GDB to user.databases

Compatibility: 6.0 - MacOS - Windows

This script adds a specified guest database to the user.databases table.

It works in either of two ways:
If the cursor is within a GDB: The script gets the GDB file path from the cursor location.
If the cursor is not within a GDB: The script presents the standard file dialog, so the user can select the GDB file.

If there is already an entry in user.databases for the selected GDB, the script prompts for confirmation before replacing the entry.

If there is not already an entry in user.databases for the selected GDB, the script prompts for confirmation before adding the entry.


This page is a Fat Page. It includes the above script(s), encoded by and for Frontier. To retrieve the script(s), save the page as source text and open it using the File->Open command.

Copyright © 1998, 1999 by Samuel Reynolds. All rights reserved. Last modified 1999/05/19.
Built with Frontier v.6.0 on Macintosh OS 8.1 on 1999/05/23.