I am attempting to update the notes field of my Orders table with a new note.
The newnote variable has the existing notes and the new note appended at the bottom and can be a few pages long.
When I attempt to run the SQL
SQL = "UPDATE Orders " & "SET Orders.notes = " & newnote & "WHERE...
Problem with my WHERE
How do I reference the current record here
WHERE OrderID = currentrecord.OrderID ?
I have a button that runs a macro in the detail section, so I need it to work only on the current record.
I know this is basic, sorry.
Mark Van Laarhoven
Dot Imaging Online Printers...
I have set up a series of queries that are activated by a macro, which works like magic, BUT.....
You have to click YES YES YES YES YES YES YES about a dozen times. Is it possible to automate the "Yes"s and get rid of all these confirmation screens?
Mark Van Laarhoven
Dot Imaging Online...
I have an Access solution that my Sales team uses remotely, i want them to be able to click a button, that will export all their new entries from a specific table. They email that file to me, so I can add it to the master table that combines their entries with everyones.
What is the best...
How do I store some html code as a variable or string without the html syntax messing with the vb.net syntax?
Dim xhtmlheader As String = "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"...
I have these 2 buttons, the load button works, it gets all the data into the dataset and I have bound some txtboxes to the dataset so it displays the relevant info.
My problem is when I try to update the changes I make.
Please comment on my code as I have stuffed around with this for hours and...
I am successfully displaying the content of an external text file in a textbox txtWelcomeMessage. The problem is, it only displays the first 120 or so characters from the text file. I upped the MaxLength property on the textbox but it makes no difference, I think it has to do with the variable...
My formula is =A15*B20+B20
I want to copy this down the column of cells, but when I drag it down I get =A16*B21+B21 then =A17*B22+B22 etc.
But I want it it to be =A15*B21+B21 then A15*B22+B22.
How can I copy it down all the cells, updating the B? but keeping the A constant on 15?
There are...
I have a reporting system that has new records each year for the new students. I need to make a macro that will grab the comments for subjects and append them to the linked tables my mdb uses from an external mdb file.
I have gone the regular route of TransferDatabase and can easily import into...
I have been stuffing around for hours, trying to goto a record on a subform, from a report.
Form is called frm_NAV
Subform is called frm_reports
The field I want to go to is ReportID.
I keep getting "OBJECT NOT OPEN" errors.
Suggestions Oh gurus? Mark Van
EZ-PC Help
www.ezpc.com.au
This is my code:
Private Sub Report_Close()
On Error GoTo Err_Command198_Click
Dim stLinkCriteria As String
Dim mainNav As String
mainNav = "frm_NAV"
stLinkCriteria = "[ReportID]=" & Me![ReportID]
DoCmd.OpenForm mainNav, acNormal, ...
I have a list of 300 names in a recordset
I want to put links at the top of the page like:
A | B | C | D | E | F | G | H | etc.....
So you can move to the names beginning with whichever letter you choose.
Can I target parts of a recordset? or am I missing the obvious, help please!
Is there some...
I am passing a date from the previous page, and am filtering the recordset for the current page by that date,
I get this error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record...
I am filtering records in the recordset by the field "MeetingID"
and wish to be able to update the other fields in this recordset. When I try to update, it gives me the error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Cannot...
I have a Database that needs to use an Append Query, to populate forms.
It works great offline.
Now to get it working remotely?
Using UltraDev4 ASP/VBscript can I execute the append query on the server copy of the Access2000.mdb? How?
I can run simple queries, but not my Append Query?
!!!! HELP...
I am passing values to my page using "GET" method
adding ?username="whatever"? to the end of the URL.
How can I set the Initial Value of a field on my next page to the username in the URL?
I imagine I need to put something in the Initial Value box in the properties for that...
How can I create a search for records that automatically filters to the letters entered.
eg. List of names like "Doofus, Dopelheimer, Dorcas"
that will come up when the search field is simply "do"
Better still, if I enter "do" it would autocomplete to give me...
I have 2 subforms
subfrmContactsInACell
subfrmContactsNotInACell
These are built on queries to count the records
The subforms have the purpose of displaying the record count
using =Count([ContactID])
Where do I go from here?
I have tried an unbound field with the source set to...
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.