Question : help

Can someone help me with this code to understand.
<html lang="en">
<body style="margin: 0;padding: 0;">
   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
   id="red5phone" width="266" height="262"
 
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
   <param name="movie" value="red5phone.swf?" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#869ca7" />
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="FlashVars"
value="username=1001269&phone=1001269&password=54523&autologin=1&todial=1001289"/>
   <embed src="red5phone.swf?" quality="high" bgcolor="#869ca7"
    width="266" height="262" name="red5phone" align="middle"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash"
 
flashvars="username=1001269&phone=1001269&password=54523&autologin=1&todial=1001289"
    pluginspage="http://www.adobe.com/go/getflashplayer">
   </embed>
 </object>
</body>
</html>
 

Answer : help

or you can use

if AdoQuery1.State in [dsEdit, dsInsert] then
AdoQuery1.Post;
also if you are iterating with 'next'
'Next' provides an automatic Post, so after Next your DataSet is not in an Edit mode. To make it work just switch Next and Post lines.
Also you need to refresh data (Adoquery.requery or refresh)
but like I said we must see the code....
Random Solutions  
 
programming4us programming4us