Home DADE

Asta Dade

edited April 2003 in DADE
I downloaed the Asta Dade component from the Asta Site, but when
compiling it is looking for the following two include files. I don't
see these .inc files anywhere. Can someone point me to these ? Thanks

{$I RBVersion.inc}
{$I ASTAVersion.inc}

--
David Farrell-Garcia
Orca Software & Technologies

Posted With XanaNews 1.14.3.7

Comments

  • edited April 2003
    You shouldn't need these files. Try compiling without them being included.
    I'm running the AstaRBDemo project from ASTA and it works fine. I haven't
    downloaded it recently as I don't think it has changed. Are you using this
    link to download it? Is there another one you are using?
    http://www.astatech.com/files/examples/AstaRBDemo.zip You'll have to use
    the daASTA.pas from our website
    (http://www.digital-metaphors.com/tips/daASTA.zip) to work with their demo
    in RB 7.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003
    Jim Bennett (Digital Metaphors) wrote:


    Hi Jim. Yes, I did download daAsta.zip from your site. I also tried
    one from the ASTA site. If I remove the references to the .inc files
    I get other compile errors. Am I going crazy? :- )

    I will start with a clear mind and download them again and start over.
    Maybe my brain is fried.


    --
    David Farrell-Garcia
    Orca Software & Technologies

    Posted With XanaNews 1.14.3.7
  • edited April 2003
    I searched my hard drive and didn't find them and I opened the project and
    didn't see them. Then I ran the project and it worked. I failed to look in
    daASTA.pas for the include directives. So I can email you the .inc files if
    you would like. I did find them today. I must have mistyped the search
    criteria yesterday which led me to believe they weren't needed. They should
    be included in the AstaRBDemo end user project you downloaded and unzipped.
    Sorry about that. Here they are for example in ASTA 2.5. All you need is the
    AstaVersion .inc file as the RBVersion isn't used. See the defines. For
    example, in daASTA.pas there is a use of:

    {$IFDEF ASTA25}
    AstaDBTypes,
    {$ENDIF}

    You may want to change it to reflect your version of Asta, sucha s Asta 3.0
    and change the DEFINEs and IFDEFs in daASTA.pas.

    AstaVersion.inc:

    // this is an include file which defines the
    // particular version of ASTA with
    // which to compile the daASTA dade plugin unit.

    {$DEFINE ASTA25} // asta 2.5


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003
    Jim Bennett (Digital Metaphors) wrote:


    Hi Jim, I did download the demo and found them there. I never bothered
    to check the demo before because I did not think I needed it...so I
    guess I am all set. Thanks for your help.

    --
    David Farrell-Garcia
    Orca Software & Technologies

    Posted With XanaNews 1.14.3.7
  • edited April 2003
    Was anyone able to get this working? I still can't and any help would be
    greatly appreciated.

    Thanks,

    Rhett Price
    IndySoft

  • edited April 2003
    Hi Rhett,

    Other customers, as well as myself have been able to successfully get ASTA
    working. The biggest trick (as I see it that is) is to get the auto
    increment field value back after a post is made on a dataset. This is needed
    in order to have the report explorer work correctly. I have a DBISAM + ASTA
    + RB project I can send you. I'll have to soft code the table locations so
    you can run it more easily. Send an email to support@digital-metaphors.com
    attn: Jim, for an ASTA example project in RB 7, and I'll reply with it
    attached.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.