Lines Turning Blue When Printing

Sep 1, 2011

I have my lines set up as text black but when I print they turn to a dark blue.

View Replies


ADVERTISEMENT

Modules & VBA :: Changes Color Of Button From Light Blue To A Darker Blue

Nov 30, 2013

Private Sub TestButton_Click()
Dim bc As Long
bc = TestButton.BackColor
TestButton.BackColor = bc
End Sub

Somehow this changes the color of the button from light blue to a darker blue. Yes, this has no real purpose, but it is a test to see why be app. isn't working. I store the color, but it back and it's not the same color.

View 6 Replies View Related

Printing Open Report And Turning Off 2 Sided Option

Aug 21, 2014

I am trying to create a button on a report that prints out the report. The default option for 2 sided printing is true on all computers at the office. I am looking for the command how to do this, whether I have to find each computer's default printer options or what.

How to adjust this besides going into printer settings and changing the defaults manually.

Access 2007

View 3 Replies View Related

Reports :: Printing Lines Vertical And Horizontal In A Report Like Table In Word Document

Sep 12, 2013

I need to replicate an existing report that has a number of 3 columns across the page and has 35-40 rows down the page...it's like a table in Word or a spreadsheet in Excel. I need to print the column and row lines.

Is there a simple way to include these in the report other than me drawing each and every line?

View 2 Replies View Related

General :: Access Import Changes Colour From Blue To Red?

Dec 7, 2012

I tried splitting my main database in Access 2010 but came up with a 'subscript out of range' error, so in order to solve this, I've imported all my database objects into a new database. The splitting process (and other problems like web incompatibility) issue is now solved and works fine, but for some weird reason, all the objects that are one particular shade of blue in the forms and reports (shape fill, outlines, text colour) have changed to red.

Blue: Accent 1, Darker 25% (the colour i want)
Red: Accent 2, Darker 25% (the colour it changes to)

There is no code anywhere that specifies these colours in any sense, and even importing single forms at a time as a test yields the same result. I could change them all back manually to the right blue, but seeing as there are around 900 forms and reports, each with multiple labels/shapes etc...well you get the point.

View 1 Replies View Related

Reports :: Change Text Of A Field To Blue Color If A Certain Condition Is Met

Oct 8, 2014

I have a report which I would like to change the text of a field blue if a certain condition is met. What I want to happen on this report is if a specific field has an "Active" - then it will be in Blue text, otherwise it is in black text.

I have gone into the report ->in the Details section -> put a procedure in the On Format event. The code I have been trying is:

-----
If Analysis_Status = Active Then
Me.Analysis_Status.ForeColor = vbBlue
Else
Me.Analysis_Status.ForeColor = vbBlack
End If
End Sub
----

View 6 Replies View Related

Reports :: Convert To PDF - Column Headers Light Blue Or Grayscale

Jun 11, 2014

I have two separate reports. They have identical formatting. When I click on Adobe: Convert to PDF, this is what happens. Report 1 will convert with light blue in the column headers. Report 2 will convert with grey scale in the column headers. I have no clue as to how to make them both light blue or both grey scale. My boss wants them to match.

View 9 Replies View Related

Modules & VBA :: Printing Code Slowing Down Printing Reports?

Feb 25, 2014

I was having trouble just setting each report with a particular print method - for some reason they just kept forgetting their individual settings and resorting to default on the machine.

This meant reports were printing on the wrong paper, or the wrong size paper, the wrong orientation and some times refusing to print if it couldn't find the paper (which is useful in runtime as it doesn't display error messages)

So I used Reports(rpt).printer properties (I forgot where I found this) to hard code the printer properties into each print command... this meant I had to use another function to insert the variables.

So all I had to do was say:

Code:
PrintMe("Invoice","InvoiceID",iID)

and a report would print to exactly how I wanted... but it's just too slow!

See attached for full code, I have a niggling feeling it may be the function: PrinterOK, to make sure the printer exists or not.

Code:
Function PrinterOK(sPrinterName As String) As Boolean
Dim MyPrinter As Printer
PrinterOK = False
For Each MyPrinter In Printers
If MyPrinter.DeviceName = sPrinterName Then
PrinterOK = True
Exit Function
End If
Next
End Function

I know it's the printing code, because if I stop the printing and just preview then it shows up almost instantly.

View 1 Replies View Related

Forms :: Find Hex Or RGB Value For Blue Color That Access 2010 Uses By Default For Buttons On Forms?

Sep 5, 2014

Where can I find the Hex or RGB value for the blue colour that Access 2010 uses by default for buttons on forms? I need to change some buttons to yellow (I know the code for that) but later change them back to the previous shade of blue, which is shown in the Properties pane "Accent 1, Lighter 40%".

By clicking in the standard colors area at the bottom of the colour chooser I can find a very similar blue #D6DFEC but it doesn't look quite right. And the "accent" colour does not give me a Hex value.Is that "usual" blue even one colour? How can I reset a button to that style having changed it?

View 14 Replies View Related

Turning A Db Into A Webpage.

Nov 3, 2006

Hi,

Is there a good developer tool for turning an access db into a webpage?

Or should I go about it in a completely different way?

I want it to work just as it does, but I would like to have it on the www.

Fuga.

View 11 Replies View Related

Turning Off Spell Check?

Aug 25, 2006

We need to enter the string INCL as a data value in one of our tables. When we try to exit the field, Access keeps changing it to INCLUDE. This occurs whether the value is entered via a form or directly in the table. I assume it is doing some type of autocorrect based on th spelling. There is no VBA code associated with this field.

Is there some way to turn this off?

View 2 Replies View Related

Turning A String Into Date

Sep 30, 2011

I am doing a project which currently requires me to input a new file we just got. However, the dates on all of them, as in the field containing the dates, displays something like 20030608 instead of June 8, 2003. I was thinking I could just run the file through a looped vb array to go through the information, reformat it, and then dump it into a new column.

View 2 Replies View Related

Turning A Cell Red In A Query?

Sep 28, 2011

I would like to turn a cell red in a query - is this possible or can this only be done in a form or report. I have created a table with medical information and want the cell to turn red when blood pressure entry is greater than 140. Not sure what and where formula should be entered.

View 3 Replies View Related

Turning The Records In A Table Sideways

Mar 27, 2007

I have a table with data structured like this:

Emp#STOT
--------------------
301741421540
301801882518
3020024000
30223227166

I want to create a query that takes that data and does this:


Emp#STOT
--------------------
3017414210
301740540
3018018820
301800518
3020024000
3020000
3022322710
30223066

Is that even possible? How do I get started?

View 6 Replies View Related

Turning Current Fields Into Autonumber

Jun 26, 2007

Hi all.

I have been tasked with replacing an external database in house and obviously the external database has multilpe tables joined by various id fields. I'm assuming when they created the db they were assigned autonumber qualities etc to create unique numbers.

However, I can't replicate that in mine. I have the external references for existing data fine. But ho do I now create a new record with a unique number in the existing field.

I tried setting it to primary key and/or no duplicates etc but it's expecting me to enter a number.

I imagine I've got to set some kind of loop to count from one and matech it and then when it finds a number not currently in use it'll stop and use that but how to do that........

Cheers for any help.

View 2 Replies View Related

Turning Query Results Into String...

Jun 23, 2005

Hello, I have a query that returns a list of courses undertaken by certain employees. They are in the format NPTC CS 30; NPTC CS 31; NPTC 33; NPTC FTC 38; NPTC FTC 40 etc...

Anyway what I need to do with this is convert these results to a string and manipulate them in such a way that they can be displayed in a text box on the back of an ID card in the following format:

NPTC CS 30, 31, 33, NPTC FTC 38, 40... etc.

Because there is not enough room on the back of the ID card to use a subform to just display them in a list...

View 3 Replies View Related

Turning Data Entry Off Through Code

Feb 23, 2006

Hi,

I have two main forms which are essentially the same apart from some command buttons, one form to enter data, one form to view data.

These forms also contain about 8 subforms, in Data Entry mode (for the data entry form, funnily enough).

Problem is, obviously when I open my form to view records, the subforms don't update as I flick through, due to them being in data entry.

What's the easiest way to prevent this problem? Obviously I'll need to turn data entry off, but was wondering whether there's a more elegant solution than either creating 8 duplicate subforms with data entry turned off, or using about 50 lines of code to turn Data Entry off/on every time.

Thanks,

Toby

View 1 Replies View Related

Modules & VBA :: Filter On Subform Not Turning Off

Feb 2, 2015

I'm filtering a sub form in datasheet using an option group frame, and the on click does exactly what I want it to do.However, Once I'm done filtering, I can either set the filter to all ...

Code:

Case 1
Forms!frmmain!frmtoplinelist.form.FilterOn= False
Or click a Button "Remove Filter"

Code:

Private Sub btnClear_Click()
Me.frmTopLineList.Form.FilterOn = False
End Sub

(I've tried both references to the subform too... "Me." and "forms!etc. However, the subform filter isn't switching off.

View 4 Replies View Related

Forms :: Turning The Month Into A Number Using Vba?

May 7, 2013

im doing my ict unit 7 edexcel ict exam atm and as one of the tasks we have been asked to generate the testid. the test id consits the year a underscore and then the number of the month so for example if a test happened this year and this month the test id should be 2013_5. i can get the year and the underscore into the code to generate the testid but im not sure how to get the month to change to a number so for example if i select may from a drop down the code needs to take that and generate it into a number.

View 6 Replies View Related

Queries :: Turning 2 Fields Of Data Into 1

Jun 17, 2014

I have a table in a database where the telephone numbers are in two separate fields, i.e. [123] (which is the areacode) and [456-7899]. Is there a way to take the two fields in this table and put combine these two numbers into one field so the new field will be in this format.... [123-456-7899]?

View 9 Replies View Related

Queries :: Turning Rows Into Columns?

Jan 20, 2015

I have a file structured as listed below. I need to pivot Patient Id, Patient Name, Send Reason, Provider Name and Visit Number into columns and then insert the values into the corresponding columns.

My data set contains about 1,000 rows, so I cannot simply paste special in Excel.

Patient ID 111111
Patient Name Doe, Jane
Send Reason Cannot resolve provider
Provider Name Doe, John
Visit Number ABCD#F1234567

I have tried Pivot and Transform, neither of which seems to work.

View 13 Replies View Related

Forms :: How To Keep Subform Filter Property From Turning On

Dec 23, 2013

This doesn't happen on all my other Frm/subfrms that I have. Only this one and I can't figure out why.

I have a main form with a datasheet subform and a detail subform on it. The detail subform works fine until I filter on the datasheet.

Both forms use the same view.

But, when I filter on the datasheet form, the filter on the bottom of the 2nd subform turns on and I can't unfilter it. I can't figure out what it's trying to filter. If I can figure out how this is happening, I can prevent it and then the subform will just reflect the record selected from the datasheet. This doesn't happen with any other datasheet/detail form that I have.

View 1 Replies View Related

Tables :: Time Field Keeps Turning Into Calendar

Jun 9, 2014

We are setting up a table and are trying to get a field to be a "time" field. I've changed the field to "date/time" and have chosen 'short time' in the background but when I open the table it keeps giving me a calendar to choose from then turns it into a time.

View 1 Replies View Related

Modules & VBA :: Turning Off (specific) Error Messages

Dec 2, 2014

I have a query that I run from VBA which basically resets a field on every row, where it is set, back to it's original default value - this works!.However I get 2 pop up windows, 1 of which is no use and the other is worth keeping.

The first Window says "you are about to run an update query that will modify data in your table" - I want to suppress this one.

The 2nd more useful one tells me I'm about to update (x) rows. I want to keep this.

Obviously if I put DoCmd.SetWarnings False in my code all warnings are switched off so how, if at all possible, do I only display the 2nd more useful message?I presume I have to trap the error, but how do I know what the error number (??) is for the first message?

View 2 Replies View Related

Tables :: Turning Off Rounding Function In Calculated Fields

Jan 22, 2013

Is there anyway to turn off the rounding function in calculated fields - I need to divide a currency amount by a whole number to calculate the number of full coin bags that will be needed (bags contain different totals according to the coin value) - a whole number.

Then the result is used to calculate how much loose coin will remain.

But regardless of the field type and/or the format, the number rounds when I reduce the decimal places to zero. I need the result to be the whole number and to calculate as the whole number.

View 4 Replies View Related

Modules & VBA :: UDF In Excel Template - Turning Letters Into Numbers

Jun 12, 2015

I have this UDF in my excel template that changes a set of numbers in to letters corresponding a code.

For example the code is "EUCHARISTO" it would simply mean

E=1, U=2, C=3, H=4, A=5, R=6, I=7, S=8, T=9, O=0 and by default the tenths position (".0")=X the hundredths position (.0"0") = Y and If a number repeats it becomes G.

Examples
12.50 = EUAY
123.00 = EUCXY
12.25 = EUGA
99.00 = TGXY
99.50 = TGAY
999.00 = TGTXY
999.99= TGTGT

Here's the UDF:

Code:

Function LetterCode(ByVal Numbers As String, Letters As String) As String
Dim X As Long
Numbers = Format(Numbers, "0.00") * 100
Letters = UCase(Right(Letters, 1) & Left(Letters, Len(Letters) - 1))
If Numbers Like "*0" Then Mid(Numbers, Len(Numbers)) = "Y"

[Code] ...

Also, where best to put this code, In a query or in a module.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved