PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example 1: Modifying a record found in Customer file
  • Example 2: Modifying a new data file
Example 1: Modifying a record found in Customer file
Windows Mobile The customer form is displayed on the screen. ScreenToFile is used to load the values entered in memory. The current record is modified.
// Modify the current record in a "Customer" file
ScreenToFile()
IF HModify(Customer) = False THEN
Error("Unable to modify the customer")
END
Example 2: Modifying a new data file
Windows MobileHFSQLHFSQL Client/ServerStored proceduresNative Connectors (Native Accesses) A "Customer" file is created. The following code is used to modify the 5th record of this file. In this case, 4 deleted records are added at the beginning of the file.
// Create the "Customer" file
HCréation(Customer)
IF HModify(Customer, 5) = False THEN
Error("Unable to modify the customer")
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment