I need to upload a name file to the webserver each time. It seems it's not possible to pre-set the value when using Enctype="multipart/form data".
Has anybody ever come across a solution to this where the user doesn't have to browse for the file name?
You could try removing your filter criteria to a seperate form and generating a SELECT statement based on your filter requirements as a string. You then open the results form with the Record Source set to the SELECT statement.
I'm not sure what your underlying table looks like but for a simple...
I think the error is being caused by exceeding the allowed string length for the Form's filter property.
You could try verifying the integrity of strWhere by outputting it to a MsgBox before setting the filter property and if this seems OK then try creating the Filter as a string to mock up a...
Thanks PH
I have modified the original SELECT statement to include a join to a table where OrderWgt is held which does the trick.
Still be nice to know though...
OrderWgt is a field to hold a (new) value as an integer.
The product is sold by weight. OrderWgt is used to allocate the Sales Order order-weight across multiple Purchase Orders - until the order has been fulfilled. (At the same time other values with the Purchase Order can be modified).
I am using a disconnected recordset bound to a DS form. I would like to append a new field to the recordset, bind that form to a text box on the form and allow the user to enter a value, which is reflected in the underlying disconnected recordset.
Everything else seems to work OK - the code...
If Access has never done temporary tables - this can't be a first time data requirement?! How are people doing this?
I reckon a disconnected recordset is the answer. Create the recordset, append the required fields , bind the recordset to a form, allow the user to make the changes and then...
I need to extract data from a number of tables - for example Code, Desc, DefaultValue, Current period + 1. The data is then displayed in a datasheet form - the user can change (some) of the values and then append the records another table, say TblActCosts.
I could select the records to a...
Version control!! Sorry think I must have got myself in a bit of a muddle with which file was which.
Ran the mdb on the 2000 machine and it threw up the AccessConnection as an error. Modified it then re-compiled the mde (I could have sworn it compiled the first time without errors) - and it now...
Found a 2000 office installation and re-compiled. No joy - I think its something to do with a missing ADO/ODBC library on the 2000 runtime.
Looks like I've got to re-write the code in DAO - Or re-package to install the 2003 runtime. Thanks for all your help and suggestions
As I am running an .mde on 2000 runtime its a tad tricky to tell exactly what the faulty line of code is.
I'm guessing its somewhere in
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
Set cn = CurrentProject.AccessConnection
Set rs = New ADODB.Recordset
With rs
Set .ActiveConnection =...
I have an application developed in Access 2000 and distributed with the Access 2000 runtime. I have recently added some additional functions using ADO in Access 2003 (keeping the 2000 file format - as all the original 2000 stuff has been now been updated).
The application runs fine on my...
It all works for me and returns the next number in sequence: ie 19979
I know this obvious but as users are allowed to over-write the field and as there are presumably now 19978 records has someone has over-written an early InvoiceID with 318512? The DMax function would then return 318513.
I've run sfc /scannow - no errors reported. Have tried most of the fixes suggested on the links from linney and tried restoring Windows back to a point before this occured.
My next problem is - this is not a branded PC and without device manager I can't establish the hardware manufacturers to...
This is a complete mystery and any help would be appreciated. I cannot get a PC to connect to the internet - plus device manager is completely empty and there is no sign of the Local Area Connection.
I can see (and connect to the PC) in the workgroup and open the router settings in IE from this...
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.