Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9541 > unrolled thread

ADS 12 problems

Started byJürgen Knauf <trotterklaus@googlemail.com>
First post2016-07-20 08:31 -0700
Last post2016-08-03 01:24 -0700
Articles 11 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-07-20 08:31 -0700
    Re: ADS 12 problems D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-21 23:36 +0200
      Re: ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-07-22 03:23 -0700
        Re: ADS 12 problems D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-25 10:03 +0200
          Re: ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-07-28 23:19 -0700
            Re: ADS 12 problems "Joachim Duerr" <jojo.duerr@gmx.de> - 2016-07-31 12:44 +0000
              Re: ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-08-01 04:36 -0700
                Re: ADS 12 problems "Joachim Duerr" <jojo.duerr@gmx.de> - 2016-08-01 16:18 +0000
                  Re: ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-08-01 22:41 -0700
                    Re: ADS 12 problems "Joachim Duerr" <jojo.duerr@gmx.de> - 2016-08-02 18:55 +0000
                      Re: ADS 12 problems Jürgen Knauf <trotterklaus@googlemail.com> - 2016-08-03 01:24 -0700

#9541 — ADS 12 problems

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-07-20 08:31 -0700
SubjectADS 12 problems
Message-ID<c771b2de-7617-4686-b686-8ac6109b4038@googlegroups.com>
Hi,

I tried the new release of Advantage Database Server 12 and found out, that 
I can't import a blob file into the table anymore.

With ADS 11.x all is ok. 

Any experience?

Juergen

[toc] | [next] | [standalone]


#9544

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-07-21 23:36 +0200
Message-ID<p0g2pb1gom8cmga5ug58596aotng8sitvi@4ax.com>
In reply to#9541
Replying on message of Wed, 20 Jul 2016 08:31:30 -0700 (PDT) from
Jürgen Knauf:


 Hello Jürgen,

>I tried the new release of Advantage Database Server 12 and found out, that 
>I can't import a blob file into the table anymore.
>
>With ADS 11.x all is ok. 
>
>Any experience?
>
No. but if you sent me a table and a file and the steps you are taking
I am happy to try it for you, to see what happens here.

Dick

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#9547

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-07-22 03:23 -0700
Message-ID<f6945bbe-52db-48b6-ae91-cbc30becf162@googlegroups.com>
In reply to#9544
Am Donnerstag, 21. Juli 2016 23:36:26 UTC+2 schrieb D.J.W. van Kooten:
> Replying on message of Wed, 20 Jul 2016 08:31:30 -0700 (PDT) from
> Jürgen Knauf:
> 
> 
>  Hello Jürgen,
> 
> >I tried the new release of Advantage Database Server 12 and found out, that 
> >I can't import a blob file into the table anymore.
> >
> >With ADS 11.x all is ok. 
> >
> >Any experience?
> >
> No. but if you sent me a table and a file and the steps you are taking
> I am happy to try it for you, to see what happens here.
> 
> Dick
> 
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Hi Dick,

do you have ADS 12 installed?

Juergen

[toc] | [prev] | [next] | [standalone]


#9551

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-07-25 10:03 +0200
Message-ID<kshbpbpvpt2qo1bktjc7r1bntstpbd7lgd@4ax.com>
In reply to#9547
Replying on message of Fri, 22 Jul 2016 03:23:13 -0700 (PDT) from
Jürgen Knauf:


 Hello Jürgen,
>
>do you have ADS 12 installed?
>
Yes.

Dick

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#9565

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-07-28 23:19 -0700
Message-ID<a39a5303-6e5e-41fa-9538-392e06d9a41a@googlegroups.com>
In reply to#9551
Am Montag, 25. Juli 2016 10:03:41 UTC+2 schrieb D.J.W. van Kooten:
> Replying on message of Fri, 22 Jul 2016 03:23:13 -0700 (PDT) from
> Jürgen Knauf:
> 
> 
>  Hello Jürgen,
> >
> >do you have ADS 12 installed?
> >
> Yes.
> 
> Dick
> 
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---

I found the problem!

With ADS 12 you can't import blob data like a word document into a blob field, while this document is opened in another application.

[toc] | [prev] | [next] | [standalone]


#9569

From"Joachim Duerr" <jojo.duerr@gmx.de>
Date2016-07-31 12:44 +0000
Message-ID<e06a5gFi5lfU1@mid.individual.net>
In reply to#9565
Jürgen Knauf wrote:

>With ADS 12 you can't import blob data like a word document into a
>blob field, while this document is opened in another application.

how did you try to import?

-- 
Joachim Duerr Softwareengineering
http://www.jd-engineering.de

[toc] | [prev] | [next] | [standalone]


#9572

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-08-01 04:36 -0700
Message-ID<4265a7cb-37f4-486b-a493-01418c0eb6ae@googlegroups.com>
In reply to#9569
Am Sonntag, 31. Juli 2016 14:44:34 UTC+2 schrieb Joachim Duerr:
> Jürgen Knauf wrote:
> 
> >With ADS 12 you can't import blob data like a word document into a
> >blob field, while this document is opened in another application.
> 
> how did you try to import?
> 
> -- 
> Joachim Duerr Softwareengineering
> http://www.jd-engineering.de

I open a Dokument in MS Word and try to import it into a binary field.

 oServer:Rlock()

 IF oServer:AX_File2BLOB(cSaveName,"TXT") == FALSE
    MsgAlert("Write Error!"+CRLF+"Document was not saved!","Attention")
 ENDIF      

 oServer:commit()
 oServer:Unlock()

Until ADS 11.x no problem!

[toc] | [prev] | [next] | [standalone]


#9573

From"Joachim Duerr" <jojo.duerr@gmx.de>
Date2016-08-01 16:18 +0000
Message-ID<e09b1uFaam2U1@mid.individual.net>
In reply to#9572
Jürgen Knauf wrote:

> open a Dokument in MS Word and try to import it into a binary field.
>
> oServer:Rlock()
>
> IF oServer:AX_File2BLOB(cSaveName,"TXT") == FALSE
>    MsgAlert("Write Error!"+CRLF+"Document was not
>saved!","Attention")  ENDIF      
>
> oServer:commit()
> oServer:Unlock()
>
>Until ADS 11.x no problem!

ah. ok. I thought it might have been Data Architect.
Does it return any error code? In the records I can not see any
modifications to AdsFileToBinary (which is the underlying API).

Another possibility would be to read the file content with your
application and pass it over to ADS. This would make you independant
from API changes.

-- 
Joachim Duerr Softwareengineering
http://www.jd-engineering.de

[toc] | [prev] | [next] | [standalone]


#9574

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-08-01 22:41 -0700
Message-ID<bdad9270-1cae-4a93-83fc-409946610bdc@googlegroups.com>
In reply to#9573
Am Montag, 1. August 2016 18:18:08 UTC+2 schrieb Joachim Duerr:
> Jürgen Knauf wrote:
> 
> > open a Dokument in MS Word and try to import it into a binary field.
> >
> > oServer:Rlock()
> >
> > IF oServer:AX_File2BLOB(cSaveName,"TXT") == FALSE
> >    MsgAlert("Write Error!"+CRLF+"Document was not
> >saved!","Attention")  ENDIF      
> >
> > oServer:commit()
> > oServer:Unlock()
> >
> >Until ADS 11.x no problem!
> 
> ah. ok. I thought it might have been Data Architect.
> Does it return any error code? In the records I can not see any
> modifications to AdsFileToBinary (which is the underlying API).
> 
> Another possibility would be to read the file content with your
> application and pass it over to ADS. This would make you independant
> from API changes.
> 
> -- 
> Joachim Duerr Softwareengineering
> http://www.jd-engineering.de

>>>Does it return any error code? 
No error code.

When I change "ACEE.DLL" from ADS 11 to ADS 12 the problem appears.

> Another possibility would be to read the file content with your
> application and pass it over to ADS. This would make you independant
> from API changes.
How can I Do this?

[toc] | [prev] | [next] | [standalone]


#9575

From"Joachim Duerr" <jojo.duerr@gmx.de>
Date2016-08-02 18:55 +0000
Message-ID<e0c8lgF1nu3U1@mid.individual.net>
In reply to#9574
Jürgen Knauf wrote:

>How can I Do this?

I don't know the VO details, but use the appropriate to load the file
content into a buffer and then call AdsSetField.

-- 
Joachim Duerr Softwareengineering
http://www.jd-engineering.de

[toc] | [prev] | [next] | [standalone]


#9576

FromJürgen Knauf <trotterklaus@googlemail.com>
Date2016-08-03 01:24 -0700
Message-ID<31dff531-0832-4c22-afff-f733bc454dd4@googlegroups.com>
In reply to#9575
Am Dienstag, 2. August 2016 20:55:46 UTC+2 schrieb Joachim Duerr:
> Jürgen Knauf wrote:
> 
> >How can I Do this?
> 
> I don't know the VO details, but use the appropriate to load the file
> content into a buffer and then call AdsSetField.
> 
> -- 
> Joachim Duerr Softwareengineering
> http://www.jd-engineering.de

Thank you for your support.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web