Set or return the default RDD for the application

        --> cPreviousDefaultRDD


     <cNewDefaultRDD> is a character string, the name of the RDD that is
     to be made the new default RDD in the application.


     RDDSETDEFAULT() returns a character string, cPreviousDefaultRDD, the
     name of the previous default driver.  The default driver is the driver
     that Clipper uses if you do not explicitly specify an RDD with the
     VIA clause of the USE command.


     RDDSETDEFAULT() is an RDD function that sets or returns the name of the
     previous default RDD driver and, optionally, sets the current driver to
     the new RDD driver specified by cNewDefaultRDD.  If <cNewDefaultDriver>
     is not specified, the current default driver name is returned and
     continues to be the current default driver.

     This function replaces the DBSETDRIVER() function.


     // If the default driver is not DBFNTX, make it the default

        cOldRdd := RDDSETDEFAULT( "DBFNTX" )


One response to “C5_RDDSETDEFAULT

  1. Pingback: C5DG-3 RDD Reference | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.