Announcement

Collapse
No announcement yet.

Is PBForms.inc not compatible with ADO?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #21
    I change my code and shall work without PBForms
    Last edited by Alexander Holzer; 6 Mar 2008, 01:24 AM.
    Yours sincerely

    Comment


      #22
      Thanks José Roca!
      It works!

      ..but I think, to use PBForms further
      Yours sincerely

      Comment


        #23
        It is not a PBForms problem. Is a problem of using the reserved word Data as the name of a parameter when there are more parameters after it.
        Forum: http://www.jose.it-berater.org/smfforum/index.php

        Comment


          #24
          But PBForms use this "word" DATA also...
          Why does it make this? if it admits is
          Yours sincerely

          Comment


            #25
            DATA is used to declare string constants within the source code to be read by READ$ function.
            Example: DATA "Abc", Bob, "Sally", 123
            Read the help file.
            Apparently, the compiler is being confused when used as a parameter name.
            Forum: http://www.jose.it-berater.org/smfforum/index.php

            Comment


              #26
              Which version of the compiler is this? I am not getting any errors on my system(PB/WIN 8.04).
              Dominic Mitchell
              Phoenix Visual Designer
              http://www.phnxthunder.com

              Comment


                #27
                I have tested it with version 8.04, but you have to use the particular MSADO27.INC file that Alexander is using.
                Forum: http://www.jose.it-berater.org/smfforum/index.php

                Comment


                  #28
                  I have this error with WinXP Pro & Home, SP2.
                  PBWin 8.04.0042
                  Yours sincerely

                  Comment


                    #29
                    Originally posted by José Roca View Post
                    DATA is used to declare string constants within the source code to be read by READ$ function.
                    Example: DATA "Abc", Bob, "Sally", 123
                    Read the help file.
                    Apparently, the compiler is being confused when used as a parameter name.
                    If PowerBasic reserves this word, it must think if such case comes.
                    My recommendation:
                    - change in the COM Browser ".. DATA string.." on " .. xDATA string..", if such entries would happen.
                    Otherwise one must everyone times examine Work of COM Browser.
                    COM Browser is also development of the PB.
                    Yours sincerely

                    Comment


                      #30
                      I decided to try the file the PB COM browser would produce, but for some odd reason the browser
                      does not seem to like my system. It lists the registered versions of the type library, but
                      displays "Libray not present" in the Location field.
                      It's the only browser of the many in my arsenal that behaves like this.

                      Well, I can use the "Open Library File" command, but there is no way I am going to let this browser
                      monkey around with my type libraries.

                      The Microsoft ActiveX Data Objects library is a rather interesting library when it comes to the
                      resolving of external references, but I digress.
                      Dominic Mitchell
                      Phoenix Visual Designer
                      http://www.phnxthunder.com

                      Comment

                      Working...
                      X
                      😀
                      🥰
                      🤢
                      😎
                      😡
                      👍
                      👎