Hi
I would like to add two column values in a third column and I thought that a template field was the way to do this but maybe I'm wrong, I tried this
<asp:BoundField DataField="exp_budget2_cy" DataFormatString="{0:#,##0;(#,##0);0}" HeaderText="CY Budget Revised"...
Hi there
I have specified a SQL connection string allowing for distribution of the published web app to different client locations. This is becuase the server names will be different in each location. The SQL string is as follows:
Dim server_name As String = Server.MachineName
ConnStrSQL =...
Hi there
I hope this a simple question!
I've just upgraded to SQL from Access and I'm using the designer to create a select query in enterprise manager.
I have about 5 fileds with alias's that I want to show as a total field. How do I create an expression in the column field to add the...
Yes!
There were two possible errors I needed to catch
1) File not found
2) File in use
When I catch both errors it seems to work fine!
Many thanks again, I owe you a few pints for that!
Dave
Thats great, thanks again
It may be the server that causes the long wait sometimes becuase other times it opens within about 5 seconds which is what I'd expect
Raven
It seems to work most of time but hangs now and again. Would a delay in the loop fix this? Any code suggestions?
Thanks for all your help and patience on this...
Dave
Raven
Here's the code and it works using the goto area command but somethings it hangs for a while so maybe I should use a loop and a timer to retry when it catches the error?
'Delete the existing report file
If My.Computer.FileSystem.FileExists(path & str_rptname & " - " & struser & ".pdf")...
Yeah you're right Raven...but.....
it's a web app and I can't add the timer component so what's the code for the tick event when it's done in a web form?
Also, I'm poor on arrays so any help on that code would also be appreciated...sorry!
Dave
Thanks again Raven
I think I might change track completely. The pdf file in question is a snapshot format file output from access.
It then gets printed to the PDF print driver to convert it to PDF for viewing in the client browser (hence the problem in this thread).
The alternative is to...
Raven
You were right about the file not existing even though it has been written to disk. The file exists command returns true but then it can't be renamed!
Any alternative suggestions?
Thanks again
Dave
Thanks Raven
The pdf file is created by a printer driver called PDFCreator. It is a print of a MS Access report. This process will be used by many users so I can't really query the PDFcreator process.
Any advice is again appreciated!
Dave
Hi all
Once again I'm looking for someone's invaluable help!
My web application exports a report to pdf which can take up to 12 seconds to complete and create a pdf file. Then I rename the file and redirect the web browser to show the file.
What I think I need to do is to check for the file...
Hi there
I'm really hoping for guidance here because I've tried everything!
My asp.net page in my web application has a command to you must install a printer ro design print or preview. The event viewer error refers to account NT AUTHORITY/NETWORK SERVICE at which point I'm lost!
I've added...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.