Microsoft KB Archive/65845

Selecting Records in Superbase 4 Windows Using DDE

PSS ID Number: Q65845 Article last modified on 02-17-1993

1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b WINDOWS

Summary: The following is an example of how to select records (scroll through a file) in Superbase 4 Windows:

Example
In the following routine the text between <> should appear as one line without the <> symbols:  Sub MAIN REM Loads Superbase minimized if not already loaded If isapploaded(“SB4W”) = 0 Then Shell(“SB4W”, 0) REM Initiates DDE link ChanNum1 = DDEInitiate(“SB4W”, “TEST.SBF”) DDEExecute ChanNum1, “SELECT NEXT:VIEW” REM Terminates all DDE links DDETerminateAll End Sub If you have established a DDEAUTO field in your Word for Windows document linked to the NAME field in Superbase 4 Windows, this macro will select the next name in the file and display it in your Word for Windows document. For more information on Superbase 4 Windows DML commands, consult your Superbase documentation.

Additional reference words: 1.00 1.10 1.10a w4wmacro 2.00 2.00a 2.00a-CD 2.00b