Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Web Reports

    Hi,

    Is it advisable to generate web reports against
    an Access database linked to a web application already in
    production stage ? The database is 30-40 Mb in size and
    the application is being used by 3 users for data entry.
    Some of the web reports use quite complex queries (multiple
    crosstabs and joins).

    Really appreciate any help or advice on this.

    Thanks in advance,
    Melody

    Melody Guest

  2. Similar Questions and Discussions

    1. .cfr reports
      Can I pass a variable to a report.cfr report via a url or form variable? Geno
    2. Reports from the web
      Hello, This probably isn't the best group to post this in, but i'm not too sure where would be better (any ideas appreciated). What I would...
    3. Web Reports using ASP.NET/VB.NET
      I have to provide the users with data in the form of Web Reports. Crystal Licensing...Very expensive for us. PDF? Can I take data from ADO.net...
    4. XML Reports
      On Sat, 12 Jul 2003 22:17:49 -0600, Keith Russell wrote: Anybody??? Thanks. -- Keith
    5. Reports
      Hi, I am a programmer seeking advice. i am making a database in Access, using wizards and a hint of VB. The database is for a school i the u.k....
  3. #2

    Default Re: Web Reports

    Melody wrote:
    > Hi,
    >
    > Is it advisable to generate web reports against
    > an Access database linked to a web application already in
    > production stage ? The database is 30-40 Mb in size and
    > the application is being used by 3 users for data entry.
    > Some of the web reports use quite complex queries (multiple
    > crosstabs and joins).
    >
    > Really appreciate any help or advice on this.
    >
    > Thanks in advance,
    > Melody
    It's hard to say without knowing how many new users will be using the
    database, but it should not be a problem with only 3 users, especially if
    good coding practices were used in the creation of the current web
    application:

    -connections opened late and closed early
    -recordset loops avoided (GetRows and GetString used instead)
    -SQL statements used for data maintenance rather than updatable recordsets

    But even if these practices were not used in the current application, you
    may be able to mitigate this by using goood practices in your new
    application. The idea is to minimize the time the users are actually
    connected to the database: connect, get your data, disconnect, use the data.

    Bob Barrows

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  4. #3

    Default Web Reports


    Thanks for the advice :-) But I think I need some more
    explanation on these two points:

    -connections opened late and closed early
    -SQL statements used for data maintenance rather than
    updatable recordsets

    Thanks in advance,
    Melody
    >-----Original Message-----
    >Hi,
    >
    >Is it advisable to generate web reports against
    >an Access database linked to a web application already in
    >production stage ? The database is 30-40 Mb in size and
    >the application is being used by 3 users for data entry.
    >Some of the web reports use quite complex queries
    (multiple
    >crosstabs and joins).
    >
    >Really appreciate any help or advice on this.
    >
    >Thanks in advance,
    >Melody
    >
    >.
    >
    melody Guest

  5. #4

    Default Re: Web Reports

    melody wrote:
    > Thanks for the advice :-) But I think I need some more
    > explanation on these two points:
    >
    > -connections opened late and closed early
    opened late:
    Never open a connection until the line immediately preceding the line where
    you intend to use it.

    closed early:
    Always close your connection immediately after the last line in your code
    that does something with the connection.

    As a corrolary to "closed early", avoid recordset loops. Use GetRows do
    stuff your data into an array (I just posted an example of this today in the
    "SQL Query" thread) and loop through the array instead. Array loops can be
    thousands of times faster than recordset loops. In addition, as soon as the
    data is in the array, you can close and destroy your recordset and
    connection before you start processing the data (close early). Even faster
    is GetString, but GetString is limited.

    > -SQL statements used for data maintenance rather than
    > updatable recordsets
    >
    Use SQL UPDATE, INSERT and DELETE statements, hopefully encapsulated in
    saved parameter queries, instead of using the equivalent recordset updates,
    addnews and deletes. I have posted many examples of using saved parameter
    queries in this newsgroup. A Google search
    ([url]http://www.google.com/advanced_group_search?hl=en[/url]) should get you going.

    HTH,
    Bob Barrows

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  6. #5

    Default Re: Web Reports


    I spent some time going through the posts just to be sure
    I understood what you were talking about :-). I'll be
    trying out these techniques in my new apps. Thanks for the
    advice and help.

    Melody
    >-----Original Message-----
    >melody wrote:
    >> Thanks for the advice :-) But I think I need some more
    >> explanation on these two points:
    >>
    >> -connections opened late and closed early
    >
    >opened late:
    >Never open a connection until the line immediately
    preceding the line where
    >you intend to use it.
    >
    >closed early:
    >Always close your connection immediately after the last
    line in your code
    >that does something with the connection.
    >
    >As a corrolary to "closed early", avoid recordset loops.
    Use GetRows do
    >stuff your data into an array (I just posted an example
    of this today in the
    >"SQL Query" thread) and loop through the array instead.
    Array loops can be
    >thousands of times faster than recordset loops. In
    addition, as soon as the
    >data is in the array, you can close and destroy your
    recordset and
    >connection before you start processing the data (close
    early). Even faster
    >is GetString, but GetString is limited.
    >
    >
    >> -SQL statements used for data maintenance rather than
    >> updatable recordsets
    >>
    >
    >Use SQL UPDATE, INSERT and DELETE statements, hopefully
    encapsulated in
    >saved parameter queries, instead of using the equivalent
    recordset updates,
    >addnews and deletes. I have posted many examples of using
    saved parameter
    >queries in this newsgroup. A Google search
    >([url]http://www.google.com/advanced_group_search?hl=en[/url])
    should get you going.
    >
    >HTH,
    >Bob Barrows
    >
    >--
    >Microsoft MVP - ASP/ASP.NET
    >Please reply to the newsgroup. This email account is my
    spam trap so I
    >don't check it very often. If you must reply off-line,
    then remove the
    >"NO SPAM"
    >
    >
    >.
    >
    melody Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139