Ask a Question related to ASP Database, Design and Development.
-
Melody #1
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
-
.cfr reports
Can I pass a variable to a report.cfr report via a url or form variable? Geno -
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... -
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... -
XML Reports
On Sat, 12 Jul 2003 22:17:49 -0600, Keith Russell wrote: Anybody??? Thanks. -- Keith -
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.... -
Bob Barrows #2
Re: Web Reports
Melody wrote:
It's hard to say without knowing how many new users will be using the> 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
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
-
melody #3
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
(multiple>-----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>crosstabs and joins).
>
>Really appreciate any help or advice on this.
>
>Thanks in advance,
>Melody
>
>.
>melody Guest
-
Bob Barrows #4
Re: Web Reports
melody wrote:
opened late:> Thanks for the advice :-) But I think I need some more
> explanation on these two points:
>
> -connections opened late and closed early
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.
Use SQL UPDATE, INSERT and DELETE statements, hopefully encapsulated in> -SQL statements used for data maintenance rather than
> updatable recordsets
>
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
-
melody #5
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
preceding the line where>-----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 immediatelyline in your code>you intend to use it.
>
>closed early:
>Always close your connection immediately after the lastUse GetRows do>that does something with the connection.
>
>As a corrolary to "closed early", avoid recordset loops.of this today in the>stuff your data into an array (I just posted an exampleArray loops can be>"SQL Query" thread) and loop through the array instead.addition, as soon as the>thousands of times faster than recordset loops. Inrecordset and>data is in the array, you can close and destroy yourearly). Even faster>connection before you start processing the data (closeencapsulated in>is GetString, but GetString is limited.
>
>>>> -SQL statements used for data maintenance rather than
>> updatable recordsets
>>
>Use SQL UPDATE, INSERT and DELETE statements, hopefullyrecordset updates,>saved parameter queries, instead of using the equivalentsaved parameter>addnews and deletes. I have posted many examples of usingshould get you going.>queries in this newsgroup. A Google search
>([url]http://www.google.com/advanced_group_search?hl=en[/url])spam trap so I>
>HTH,
>Bob Barrows
>
>--
>Microsoft MVP - ASP/ASP.NET
>Please reply to the newsgroup. This email account is mythen remove the>don't check it very often. If you must reply off-line,>"NO SPAM"
>
>
>.
>melody Guest



Reply With Quote

