Article ID: 113477
Article Last Modified on 7/13/2004
Sub Form_Click ()
Text1.LinkMode = 0 ' Disable any existing links.
' Enter the following two lines as one, single line of code:
Text1.LinkTopic =
"ddedata|c:\foxpro\sample\organize\dbfs;TABLE personal"
' This sets your link to : foxapp|databasename;TABLE tablename
Text1.LinkMode = 2 ' Set cold link.
Text1.LinkItem = "FirstRow"
' This link item is a defined word that the foxapp searches on.
Text1.LinkRequest ' Ask for the return value from FoxPro.
End Sub
Text1.LinkMode = 0 Text1.LinkTopic = "<FoxAppName>|<PathToDB>;<FoxsDataParam> <FoxsItemParam>"FoxPro handles all of the recognized actions in a Do Case statement, which is equivalent to a Visual Basic Select Case statement. In this case, the action triggered is an INITIATE, which recognizes only certain sData, sItem combinations. INITIATE expected data is: the keyword TABLE and the name of the table (tablename). The next action triggered is REQUEST, which recognizes only keywords in a nested Do Case statement.
Additional query words: FOXPRO 2.50 Fox Pro 3.00
Keywords: kbhowto KB113477