9.0

134
Group
Time/Date
Description
Return the day of the month (1 to 31).
Parameter Description
dateexpr Return the day of the month for this date value. If this value is Null then Null is
returned.
See Also: Date( ), Month( ), Weekday( ), Year( ).
Example
Sub Main
Debug
.Print Day(#1/1/1900#) ' 1
Debug
.Print Day(#1/2/1900#) ' 2
End
Sub
DDEExecute Instruction
Syntax
DDEExecute ChanNum, Command$[, Timeout]
Group
DDE
Description
Send the DDE Execute Command$ string via DDE ChanNum.
Parameter Description
ChanNum This is the channel number returned by the DDEInitiate function. U
p
to 10 channels
may be used at one time.
Command$ Send this command value to the server application. The interpretation of this value is
defined by the server application.
Timeout The command will generate an error if the number of seconds specified by the
timeout is exceeded before the command has completed.
T
he default is five seconds.
Example
Sub Main
ChanNum = DDEInitiate
("PROGMAN","PROGMAN")
DDEExecute ChanNum,"[CreateGroup(XXX)]"
DDETerminate
ChanNum
End
Sub