I have an MS Access form that is based on a query. I want to apply conditional formatting to highlight the field on the form if the data is already in the dataset.
the query name is qry_copyrequest.
the table name is tbl_copyrequest
the field with the duplicates is BOOK-PAGE-2012
the...
I would like to run an R script I have named "iterate.R" from an MS Access module via a command button on a form.
I found the following code on StackOverflow, but something is wrong when I substitute my path.
Link
Sub RunRscript()
Dim shell As Object
Dim path As String
Dim...
I would like to show the total of my subform on the main form.
I have tried to create a textbox on my subform using =Sum([WI])
I have seen and read examples, but in my case, this formula only returns the message: #error
I tried to use Dsum that I read in thread702-1778486.
The...
Using expression [copy]=-1 I have set the conditional formatting set for field [Field1] on my form to display a conditional background color when boolean field [copy]=-1.
How do refresh the conditional formatting to change when the field [copy] changes?
Thank you!
Robert
I have a table and file name: tblRunsheet.pdfpath
field pdfpath is the full path and file name to a pdf document residing in a folder on my computer.
PDFpath field is hyperlink type.
The path opens my file if I copy and paste into windows explorer.
Field property is set to hyperlink type...
I am trying to create a simple SQL command in a module.
The SQL string passes to the SQL following the DoCmd.RunSQL, but my code stops at the line DoCmd.RunSQL SQL
I get no error... It just doesn't run. What could be wrong?
Thank you.
Robert
Public Sub UpdateFullPath()
Dim SQL As String...
I have a column named "Description." Each row of the column contains a sub-string I need to extract from the string within a cell.
The substring is in the form of three sets of numbers. The first number can be either a one digit or a two digit number; the second and third numbers are always two...
I would like to apply conditional formatting to a field on a subform. If I set Myfield ]]
I added the DLookup to add the field to my subform.
=DLookup("T-R-S", "qry_HHH", "Criteria='string'")
I then set my conditional rule
Value = DLookUp("T-R-S", qry_HHH","Criteria = 'string' ")
The Apply...
Houston Central Appraisal District publishes a text file that contains 1.6 million rows of data. All data but the key field will import. I tried breaking the field into a smaller size, importing from the text file, 800 rows of data.
The key fails to import. I then saved my smaller sized...
Reference:
http://www.tek-tips.com/viewthread.cfm?qid=1139663
http://www.tek-tips.com/viewthread.cfm?qid=1257256
Referencing the above links, I find that I can get the click event (run from a command button on my input form) to open the named file (Document.pdf).
My table is tblIndex and the...
I have Access 2016.
I would like to record the date a record is modified. The code should replace the former date if the record is subsequently modified.
This is what I have tried... which does not work. ModDate is the name of the field that the modification date should be recorded...
In thread703-1030548 DHookom wrote: QUOTE: Captain Awesome, Is [Confirmed Total] a field in your report's record source? If it is a control name then you can't "Sum()" it. You can only Sum() expressions based on fields in your report's record source.
There are other ways to get the sum...
I have a sub to run an append query. If the append query has no records, the code breaks.
How do I exit the sub on error?
Thank you!
Option Compare Database
Private Sub cmdAppendImportContacts_Click()
Msg = " Are you sure you want to append imported data into Contacts table? Click Yes...
I have created a table in excel using Ctl+t
The headers appear filtered.
If I try to create a formula referencing the table, I get the name of the table automatically, but I cannot get the names of the columns.
=sum(tbl_Sales) the named table "tbl_sales" appears and I can use tab to...
I connect to an access table from Excel. The data comes with filters set. I cannot remove the filter.
The presence of a filter is not significant to me, but I cannot use the data for a vlookup. Something seems to be wrong with the way the data is imported into Excel.
I have tried referring...
I am at a loss to get Dsum to work on my form.
FieldName represents a number.
=Dsum("[fieldname]","[qryName]", "[criteria]")
where the critea is "[FieldName2]=[form name].Form![control name]
If I use as criteria: "[FieldName]=1" I get an answer.
If I use the following criteria, I get...
I have a form based on qryLeases. For each LeaseID there is just one record. Only one record (Lease) shows in the query when I run the query.
I linked as subform fsubTract to the form which has multiple tracts for each LeaseID. The form and subform are linked by LeaseID.
I want the tracts...
I am trying to create an installer for "MyApplication" using Access runtime 2007. When I get to the last step, I get the message:
Primary File "MyApplication" cannot be found.
I am not sure what the error message means. What am I doing wrong?
Thanks.
What is necessary to have a sharepoint website for Access?
Any special software other than Access?
do I need a developer to set up the system, or can I do it with a sharepoint host?
Where do I start?
thanks.
robert
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.