Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
run Read_Row "CUSTOMERS", [1, 2]
* This will return the contents of keys 1 and 2 from the Customers table.

 

 

Example Using RECEIVER

Code Block
* Capture text results of Read_Row in the edit box EDITBOX_RESULTS.
 
Declare Function Get_Property
Declare Subroutine Set_Property, Read_Row
 
Set_Property ("SYSTEM", "RECEIVER", @window: ".EDITBOX_RESULTS")
Set_Property (@window: ".EDITBOX_RESULTS", "TEXT", "")
Read_Row("CUSTOMERS",1 : @fm : 2, "", "")
recordData = Get_Property (@window: ".EDITBOX_RESULTS", "TEXT")
swap TAB$ with @fm in recordData
swap CRLF$ with @rm in recordData
 
* reset the receiver property to null.
Set_Property ("SYSTEM", "RECEIVER", "")