1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 8<title>DWC_GdbUpdateRecordAsync</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__gdb_8h_1ccd6464d9c37c76179a7fb4b0acf3400"></a> 14<h1 align="left">DWC_GdbUpdateRecordAsync</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE><a href=Macro.html#dwc__gdb_8h_1cb77329e259246f72c99a77edee22a86>DWCGdbError</a> <a href=DWC_GdbUpdateRecordAsync.html#dwc__gdb_8h_1ccd6464d9c37c76179a7fb4b0acf3400>DWC_GdbUpdateRecordAsync</a>(const char *table_name, 22 int record_id, 23 <a href=DWCGdbField.html#>DWCGdbField</a> *fields, 24 int field_num);</CODE></PRE></dd> 25</dl> 26 27<h2>Arguments</h2> 28 29<TABLE border="1" width="100%"> 30 <TBODY> 31 32 <TR> 33<TD width="13%"><EM><STRONG>table_name</STRONG></EM></TD> 34<TD width="87%">Table name.</TD> 35 </TR> 36 37 <TR> 38<TD width="13%"><EM><STRONG>record_id</STRONG></EM></TD> 39<TD width="87%">ID of the record to update.</TD> 40 </TR> 41 42 <TR> 43<TD width="13%"><EM><STRONG>fields</STRONG></EM></TD> 44<TD width="87%">Array of fields to configure.</TD> 45 </TR> 46 47 <TR> 48<TD width="13%"><EM><STRONG>field_num</STRONG></EM></TD> 49<TD width="87%">Number of elements in <CODE>fields</CODE>.</TD> 50 </TR> 51 52 </TBODY> 53</TABLE> 54 55<h2>Return Values</h2> 56 57<p>Error information.</p> 58 59<H2>Description</H2> 60<p>If the process is successful, the record specified by the <CODE>record</CODE> argument is updated and the fields specified by the <CODE>fields</CODE> argument are configured. The content of <CODE>fields</CODE> must be retained until the asynchronous process completes.</p><p>If the <a href=Macro.html#dwc__gdb_8h_1cb77329e259246f72c99a77edee22a86e9779fbe6ad274d2016ee2ab66a08582><CODE>DWC_GDB_ERROR_NONE</CODE></a> value is returned, the asynchronous process has started. Wait until the <a href=DWC_GdbGetState.html#dwc__gdb_8h_1369bfca6c2cd6e2e2893c03c94a5e2db><CODE>DWC_GdbGetState</CODE></a> function stops returning <a href=Macro.html#dwc__gdb_8h_1eb0cda4da19d6df37e71df9d0de849eb605bb3a74ef4c38439052c43bdae07ce><CODE>DWC_GDB_STATE_IN_ASYNC_PROCESS</CODE></a>.</p><p>You can get the result using the <a href=DWC_GdbGetAsyncResult.html#dwc__gdb_8h_1f700899219d0635bc4e4430fa9b7e840><CODE>DWC_GdbGetAsyncResult</CODE></a> function.</p> 61 62<H2>Revision History</H2> 63<DL> 64 65</DL> 66<hr><p>CONFIDENTIAL</p></body> 67</html> 68