Hi all,
I have a problem where I have a webpage accessing data in an MS Access database, but the results of a: set rs=conn.execute (sql_statement) appear to be cached somewhere..
Its only a recent issue, and the page has been in use for quite a while now without a problem, and I haven't touched the db connection code.
Now, however, I get results from the table as they were entered two days ago, not...
User Profile
Collapse
-
ASP/Access Bizarre db results ?
-
How do I disable a button if First Row of DataGridView selected ?
Hi all,
I want be able to enable and disable navigation buttons when on the first or
last row of a DataGridView object.
I have a populated DataGridView and two buttons - "First Row" and "Previous Row".
If the user clicks "First Row", they are taken to the first row in the DataGridView via:
...Code:Private Sub btnFirstRecord_Click(...) ' Move to first record
-
Thanks for the response.
Unfortunately in order to use GROUP BY, I need to iclude all of the fields selected in the GROUP BY clasue which defeats the purpose...
ie. tried SELECT Column1, Column2, Column3, Column4 from Table_X GROUP BY Column2, Column3, Column4;
but got "You tried to execute a query that does not include the specified expression "Column1" as part of an aggregate function.... -
SQL Help: Select distinct
Hi all,
This I thought would be a relatively easy question, but after hunting around the net, I haven't been able to source an answer..
I have a large table in Access with four fields.
I would like to generate a result set that includes all four columns,
but removes duplicates for the last 3 columns. eg:
something like
SELECT Column1, DISTINCT Column2, DISTINCT... -
ASP Excel spreadsheet generation frustration
Hi all,
I'm trying to generate a simple Excel spreadsheet via ASP but I'm running in to trouble. Here's the code:
<%
response.AddHea der "Content-disposition", "attachment ; filename=test.x ls"
response.AddHea der "Content-type:", "excel/ms-excel; name=test.xls"
%>
<table>
<tr><td>01234 </td><td>abcde</td></tr>...
No activity results to display
Show More
Leave a comment: