![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 86](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554086.webp)
86
Chapter 7: The Database API
Arguments
connName
•
The
connName
argument is a connection name that is specified in the Connection Manager. It
identifies the connection string that Dreamweaver should use to make a database connection
to a live data source.
Returns
A user name string that is associated with the connection name.
Example
The statement
MMDB.getUserName ("EmpDB");
might return
"amit"
.
MMDB.hasConnectionWithName()
Availability
Dreamweaver UltraDev 4.
Description
This function determines whether a connection of a given name exists.
Arguments
name
•
The
name
argument is the connection name.
Returns
Returns a Boolean value:
true
indicates that a connection with the specified name exists;
false
otherwise.
MMDB.needToPromptForRdsInfo()
Availability
Dreamweaver MX.
Description
This function determines whether Dreamweaver should open the RDS Login Information dialog
box.
Arguments
bForce
•
The
bForce
argument is a Boolean value;
true
indicates that the user who has
previously cancelled out of the RDS login dialog box still needs to be prompted for
RDS login information.
Returns
A Boolean value:
true
indicates that the user needs to be prompted for RDS login information;
false
otherwise.
000_DW_API_Print.book Page 86 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...