Delphi32.com - Home!
| Home/News | Downloads | Forums | D32 Magazine | Resources | Info and Facts |  
 
 Delphi 3/400: ApplyUpdates doesn't work


I have Delphi 3/400. How come when using a MIDAS connection, ApplyUpdates doesn't work.   

    To solve this problem obtain the latest Delphi/400 patch from: "http://libra.netmastersllc.com/borland400/patches.html"

    There is no way to know if a field is NULL or contains NOTHING. so, the Resolver will replace each field with no data by a NULL. In most case, this will generate a error on the AS/400. (if your fields don't allow NULL). That's why you should had something like this on the server side :

    procedure TDemoServer.MyProviderGetData(DataSet: TClientDataSet); var i:integer; begin with DataSet do begin while not EOF do begin Edit; for i:=0 to fieldcount- do begin if fields[i].IsNull then fields[i].asstring:=''; end; Post; Next; end; end; end;

    4/ /99 4: 2:08 PM

     



  << Previous Faq     Complete List     Next Faq >>  



 
 Hits/month  2,500,000+ 
 Downloads
 (Since May 2000)
 7,393,709 
 Total Files  6,023 
 Forum msgs  7,670 
 Articles/FAQs  70+/900+ 
Kylix
Tips n Tricks
FAQs
Knowledge Base
Bug Listings
Articles
Books
Newsgroups
Links
Submissions
Testimonials
Advertising
Contact Us
About Us
Search Amazon:
Top Selling Software at Amazon

| Home/News | Downloads | Forums | Resources | Info and Facts | Testimonials |
  Site Search:
 


Comments/Problems: Webmaster@delphi32.com
Copyright © 1998-2006, Delphi32.com. All rights reserved.
Terms of Use