are you making an array in vbscript:
Dim myarray = someFunctionToGetValueFromDataBase
and then trying to access the array in Javascript?
can you do that? vbscript arrays are simply referenced by the notation myarray(x,y,z)
Can you get out anything from the array at all? Can you find its ubound?
ok, fixed now:
tracked down what was going wrong (all the Access databases being used on the whole intranet were down) by changing from OLEDB to ODBC driver which then errored with message about Volatile Jet DSN ...
MS KB indicated this was permission problem with the Jet driver on the web...
Reset the permissions now and the funny thing now is that the pages run fine for the webmaster but when an ordinary user tries to use it they have the same error.
Alasdair
Thanks, do you know where I should start looking - there are at least three different databases, some stored on web server, one on other servers, but they've all stopped working. I know the account asp pages are using to access the databases is OK to read/write the database folders as I tested...
<%
Set LocADO = Server.CreateObject ("ADODB.Connection")
LocADO.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & "\\pharm-svr\Train\dispdata.237\wait2.mdb"
Crashes out on line beginning LocADO above (according to browser).
This is just an example of one page; all the other pages on the...
I've got some asp pages connecting to MS Access databases (some are Access 2000, some are Access 2). Suddenly this afternoon I've got 80004005 errors on all pages that try to get data from an Access database.
Anybody any ideas why this would happen suddenly - I've not lost RW access to the...
Sub Macro4()
'
' Macro4 Macro
' Macro recorded 05/02/2003 by AMacdonald
'
Dim sTemp
sTemp = GetStatus("http://www.tek-tips.com/submitpost.cfm")
If InStr(sTemp, "404") > 0 Then
sTemp = sTemp & vbCr & " - this means the file was not found"
End If
MsgBox sTemp
End...
I added .AddAttachmentFile to your code and it worked fine for me, the only thing is that WinFax takes a while to load the attachment files application and then print it to Winfax so you wait a while to see the pages appear.
Regards
Alasdair
When I access Front Page (2002) Programming help I get an error saying "A runtime error has occurred". In script editor it reports that ADODB.Recordset: Operation is not allowed when object is closed.
I've uninstalled, reinstalled etc etc.
Any ideas how to fix?
I don't know if this is helpful - but what I've done to stop people using a printed version when I don't want them to is to put a form field on the document that has some text on - I use "Invalid Form - Do Not Use" that goes right across the whole page. I set the field to invisible...
this works for my test data with commas in, of course you'll have problems with multiple " in your fields then... if you find out how to get Excel to open it instead of inside the browser I'd love to know.
Response.Write """" & myRS.Fields(i) &...
This is the code I use - key point is to take out of your page any html tags like <html> <body> as then Excel thinks it's an html file not a csv file.
This isn't my code - I got it from www.devx.com - Got Data? Send It to Your Users as an Excel Spreadsheet from Your ASP Page By Rama Ramachandran...
This has bugged me as well, and what I did was separate out the data for the merge into a different database and then used that database as the source for the mailmerge document, but using ODBC. This works fine - Access never opens and the Word document closes clean, and feels much faster. Not...
1. Use the outlook programming interface to make a new appointment item.
or
2. could be much simpler, produce from access a vcs file - outlook should recognise this as an appointment, the format is like this:
BEGIN:VCALENDAR
VERSION:1.0
BEGIN: VEVENT
DTStart:20020822T130000Z...
Yes you can, here is some sample code from the outlook help which shows the basic idea - you can start this from access and fill in the outlook fields from your database.
Sub CommandButton1_Click()
myName = Item.To
Set myNameSpace = Application.GetNameSpace("MAPI")
Set...
this is what I would do:
buy winfax
make sure you have the fax number to send to accessible
make button start up word and load the document and then
if you have to insert on the fly from your current record, make sure you word document has bookmarks in that you then replace with the current...
Hi, here's bit of a solution - this will go thru your default inbox in outlook and save all the attachment files in it that end in xls into G:\testvery rough and ready and outlook will probably shout at you saying do you want to allow this. no trapping. don't know what happens if you have...
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.