Is there any way to insert greek letters into my database or reports in ms-access?
I don't want to change whole database font and I can't find "insert symbols" like excel and word for this purpose.
As this is a programming forum, I assume you are using vba, so...
When I create a new form in Access, the default font is Calibri.
That unicode capbable font supports Greek characters.
To get a capital Greek letter Delta, in your code, put
txtControl = ChrW(916)
The ChrW() function inserts unicode characters into your text.
Change the number to get different letters.
Lower case letters start at 945.
I suspect that if you set your keyboard to Greek, it will allow you to just type in there...
Related
In a Word 2007 document, I manually select a sentence containing both English and Bengali words of multiple font sizes. When I enter some numeric value in the Font size list-box in the panel and press Enter, the whole sentence font size is changed (including Bengali words).
When I select the same sentence in a Word-VBA macro and in final line try
Selection.font.Size = 8
only English words' font size gets changed.
I tried to loop through each character, but I got the same result.
I need to stick to Word-VBA as it is part of a web scraping program using Chrome web-driver Selenium.
I tried a simple macro in a manually-created Word document with manually typed mixed English and Bengali words with the Vrinda (Body CS) font and the result was the same. The whole sentence is selected, but only English words' fonts get changed.
Sample Text "I am Ok You are Ok আমিও ঠিক তুমিও ঠিক Is it ok"
Word differentiates between text formatted as left-to-right (LTR) and text formatted as right-to-left (RTL). I'm not familiar with written (or spoken) Bengali, but Word apparently considers it to be RTL. In the object model (VBA) there's a separate set of Font properties for RTL - the suffix Bi is added to the property name. So
Selection.Font.Size = 8
Selection.Font.SizeBi = 8
Should take care of both languages.
I need to be able to find every place in my document (hundreds of pages) where there is a formatting change without a space. For example:
a bold partnext to regular text
Or red text next to black with no space. I want to have my macro find each "word" (in the vba sense) like this, and execute code based on that character location accordingly. (The loop should identify the character position where the format change occurs... although I can do that part with a loop through the characters within the found word).
Is there a simpler way to do this than by looping character by character through the whole document and checking for a difference in formatting, which would be too resource-intensive?
Thanks for your help.
Is it possible in SPSS to insert superscript or subscript characters in labels, specifically axis labels?
For example, V2/Hz. LaTeX commands don't work at all ($\mu V^2$) and there doesn't appear to be any appropriate fields in the property editor.
Does SPSS have the capability? I'm using Version 20 if that is relevant.
Variable and value labels are plain text. It is possible to use html or rtf text in places in the Viewer or via the TEXT extension command.
I think the only way to get superscript or subscript in SPSS is to use Unicode characters. You can find them on this Wikipedia page. All numbers are there, but some letters are missing.
I prefer using Unicode subscript/superscript in regular text. The characters will not change if you loose text formatting, though you have limited number of fonts that work.
I have a problem with Turkish characters in my simple VBA code. Whenever I write some text in my module in Turkish characters (e.g. 'ş, ə, ç, ğ, ö, ü, ı"), they change to unknown letters.
I want to change "Eight" to "Səkkiz","Five", "Beş","Three" "Üç" etc.
May be you should change Font in the text editor
Try: Tools > Options at the 2nd tab choose Font Courier New (Turkish)
The VB editor doesn't support Unicode. Assuming that wherever you're displaying these characters does, you can do something like this:
Const UpsideDownE As Long = &H1DD
Sub Example()
' This would set the currently selected text in PowerPoint to ə
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange = ChrW(UpsideDownE)
End Sub
Of course, choose names for the constants that make sense to you ... whatever you'd normally call the ə character.
In .NET 3.5, I have a Winform with a combobox in it. The datya comes from a DB2 mainframe DB. The problem is that we have a character that is not the real apostrophe. Pasted from Word I'd guess. But in our combobox, it is not diplayed correctly. It shows a question mark "?" instead.
Any idea on how could I get it to display the character as it is ?
First you should check if the character is intact in the database, or if the problem is that the code page doesn't support the character.
If the code page used in the database doesn't support the character, it has been replaced with a question mark, and the data is lost. The best you could do in that case is to try to figure out which question marks are the result of data loss, and which are supposed to be question marks, and try to recreate the data.
If the character is intact in the database, you should just need to make sure that the font used to display the text supports unicode.
Note: The character used is probably a typographic apostrophe like unicode character U+2019.