Green Dots
Oct 9, 2006Should they implement them or not?
They are the small green rectangular things underneath a users number of posts. In most forums they are used as a ranking system judged by a users number of posts.
Should they implement them or not?
They are the small green rectangular things underneath a users number of posts. In most forums they are used as a ranking system judged by a users number of posts.
I have a form with one (field1) on it. Where users will enter data.
I would like to have a unbound textbox on the same form that will flash green if the data entered in field1 matches a value in Table. Or flash red if it doesnt find a match.
I tried the conditional formatting but i think my expressions are off.
Where is the button with the three dots located in access so when i go to form desing i could add that button to the form for look up.
View 1 Replies View Relatedim responding to the code you submitted to draw lines on a form. I am trying to change it a bit to only draw dots. I have x and y cordinates that I want to draw on the MS form kinda like a scatter graph. So I want to pass values from a table into the function LineX. Then have the function create dots that draw on the for to corespond to the x and y Cordinates. I was wondering if you could help.
thanks in advance
here is the original code
Option Compare Database
Option Explicit
Private Declare Function LineTo Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, _
ByVal Y As Long) As Long
Private Declare Function MoveToEx Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, _
ByVal Y As Long, lpPoint As Any) As Long
Private Declare Function apiGetDC Lib "user32" Alias "GetDC" _
(ByVal hWnd As Long) As Long
Private Declare Function apiGetFocus Lib "user32" _
Alias "GetFocus" _
() As Long
Public Function LineX(Ctrl As Control, X As Long, Y As Long, cx As Long, cy As Long)
Dim DC As Long
'device context
Dim hWndCtrl As Long
'bounding control handle
hWndCtrl = fhWnd(Ctrl)
'get control handle
DC = apiGetDC(hWndCtrl)
'get control DC
MoveToEx DC, X, Y, ByVal 0&
'set starting point
LineTo DC, cx, cy
'draw line from starting point to cx, cy
End Function
Private Function fhWnd(ctl As Control) As Long
'use getfocus to retrieve ctrl handle
On Error Resume Next
ctl.SetFocus
If Err Then
fhWnd = 0
Else
fhWnd = apiGetFocus
End If
On Error GoTo 0
End Function
I'm creating buttons from images I''m pasting on the forms, but all buttons are having these 3 pixels red, green, blue down in the left corner.
http://img150.imageshack.us/img150/16/accessbuttonln4.png
Any way to get rid of them?
I have a database where I have a number from a client. We copy/paste it from a pdf file. The number has dots in it (1.00.00.000). I would like to create a solution that when I paste the number in the field and go to the next field, it will take out the dots from the number.
View 3 Replies View RelatedI have a form where I combine several fields in 1 textbox. At the end there is an amount. It should look like below:
The total cost of the products is EUR 29.342,45
I have the following formula in the textbox:
Code : =" The total cost of the products " & [Currency] & " " & [TotalPrice]
It would be great if the TotalPrice could be with the dots and coma in the correct way.
I tried to format it, but it was giving me nothing, the numbers stayed the same.
I've been using MS access to lift some text files for a number of years
I have now got an issue where by the new machinary is very clever and has alittle server to collect the data. Machine1_127.0.0.1, Machine2_127.0.0.1
Previously I picked them up via ftp and downloaded the data into a text file called Machine1.txt
Now I can run a server where by the Machine1_.txt is created locally on the processing machine
however the software included ( which I can't change) just creates text files like so Machine1_127.0.0.1 and now the link doesn't work when I create the link access throw this:
"Microsoft Jet Database engine could not find the object c:Path to fileMachine1_127.0.0.1.txt. Make sure the object exists and name and Path are correct"
If I manually copy the file and rename it to machine1.txt all is good
Any offers/thoughts or suggestions, the path is quite deep at present and that could be changed.
I can't import the files either? unless I rename them and at the moment I am doing this through the interface