I am trying to create an input mask for an amount field. The length is 11 with an implied decimal. The format needs to allow for negative values as well.
ie:
Positive: 00000001234
Negative: -0000001234
Any suggestions?
I use the following to link Access97 to an Oracle database via ODBC:
DoCmd.TransferDatabase acLink, "ODBC", "ODBC;DSN=XXXX;UID=XXXX;PWD=XXXX;LANGUAGE=us_english; & DATABASE = C:\PROGRAM FILES\XXXX\XXXX.mdb", acTable, "MYTBLE", "LinkTest"
A dialog box...
I am creating a letter in Word 2000 via Access VBA. It all works fine, except, I need to set the paper source to manual feed for printing. Can anyone help? This is a new word object, not a Word Merge.
Here is a sample of the code:
Set oApp = New Word.Application
Set wDoc =...
I have an Access97 database that is utilized as a datasource for a Word merge document.
I have updated the VBA in Access97 to determine what operating system is running on the desktop. The directory location is based on the operating system. This works fine.
The problem: I am trying to use...
I have a MSAccess97 database that is set to generate mail merge documents. This database has coding to allow for use on Win'95, Win'98, Win 2000 and XP operating systems.
The problem: I need to be able to change the data source location in the word document based on the operating system...
I have set the Vertical property to yes for the column labels in an Access 2000 report.
My customer has requested the text read:
p H
l vs e
e l
H p
Does anyone know how to rotate the text?
Thanks!
I have an SQL statement in which I would like to somehow place a variable for the table name, but don't quite know how.
SELECT * FROM MyTable_0205
The table name changes each month and I would rather not have to update the query each month (02=YY; 05=MM).
Can anyone give me some direction on...
I have an ADO Recordset and need to delete a record from the recordset. I have not found the correct syntax.
Can anyone help? Am reaching maximum frustration level!!
Thanks in advance!! ;-)
I have a report that always needs to be on legal size paper, landscape.
Can anyone give an example of how to programatically set this?
I need to set this in VBA because when enhancements are rolled out, I currently have to hit each desktop to reset the paper size to legal. This is just not...
I have a command button to exit Access97.
DoCmd.Quit
This closes the Access database, but not the Access application. In fact, I have to Alt Ctl Delete to end the application.
I have closed all of my ADO connections and recordsets.
Does anyone have any suggestions?
I am trying to assign a value returned from a function to an unbound field on a report via VBA.
This code:
Me.Text78 = Report10d(SumDateFiled)
Returns:
"Can't assign value to this object."
Obviously, I have not done this before.
Any help would be greatly appreciated.
Can anyone tell me what is wrong with this?
=IIf(IsNull([acctnumber]),[empnumber],[acctnumber])
I have this in the control source of a text box on a report. This is returning #Error in the preview of the report.
I would like to link an oracle table in the on_load event of a form and then delete the link on the unload event.
Does anyone have any samples?
I am currently using:
ON_LOAD
Dim dbsCurrent As Database
Dim tdfLinked As TableDef
Dim tdf As TableDef
DoCmd.Hourglass True
Set dbsCurrent =...
I have a form with a text box to fill a list box.
The user wants to be able to input a value in the text box, depress enter and have it load to the list box.
Can anyone help?
I have a Mainform (one) with a Subform (many). The recordsource for each is an SQL statement to an Oracle database.
Each field is then set to the rs("field).value.
The Mainform works fine. The Subform does update the fields consistently.
Can anyone tell me how to correctly set the...
I am trying to write an SQL statement to update dates on an Oracle table. When the date is null in the recordset, an error is received. Access VBA is not allowing Decode or To_Date to be utilized.
Can anyone provide an alternate solution?
I want to assign a password to Shift+F11 to only allow authorized personnel into the database design.<br><br>I am having trouble. Can anyone help???<br><br>
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.