I am trying to prevent the user from entering multiple counts for the same table (card table) on the same day.
tblSoftCount
InsertDate (general date)
Tablenum (text)
Would someone help me with a Dlookup? I want to place the lookup on the after_update event of the combobox with the...
I have a form that has a textbox containg a path. I also have an image that displays the picture referenced by the path textbox.
All works well until someone deletes the image, without updating the path. This produces error "2220" "Can't open file C:\blah\blah"
I would like to set the path to...
I use the following method:
1.) Create your button on the form
2.) In the OnClick event of the button put the following code:
me.portionval.visible = True
Calculate
Add the following procedure in the form
Private Sub Calculate()
Me![portionval] = Nz(Me![mainarea], 0) *...
I have a form "frmSensitiveForms" that is used to track preprinted (numbered forms).
I also have a subform "frmSensitiveHistory" that shows the last 15 receipt details. And this works great.
I would like to click on a historical record in my subform and have the details populate the main form...
I have a very similar situation, where I need to look up users that have a "position" = "Dealer". I tried the following with no luck?
= Nz(DLookup("fullname", "tbluser", " POSITION='Dealer'"), "N/A")
Thanks as always for you help!
Well I thought I had the statement correct, but it only works for numbers not text?
Works:
= Nz(DLookup("DESCRIPTION", "TABLES", " TABLENUM='" & 1 & "'"), "N/A")
Does not work:
= Nz(DLookup("DESCRIPTION", "TABLES", " TABLENUM='" & P1 & "'"), "N/A")
Any help would be appreciated.
Any idea how to sum this?
=IIf(([wl]=0),0,IIf(([text80]=0),0,([wl]/[text80])))
Tried:
=Sum(IIf(([wl]=0),0,IIf(([text80]=0),0,([wl]/[text80]))))
It prompts me for "wl" value and "Text80" values?
It a never ending learning curve....
I have a report based on a query that adds currency for multiple registers. The detail section is grouped by REGISTER asc.
Looks similar to this (X=some value)
Reg# $100 $50 $20 $10 $5 $1
__________________________________
1 $200 $50 $120 $40 $60 $45
2 XX XX XX XX...
This is a classic example of looking at the data too long, and assuming the error is within Access. It took someone on the outside looking in to point out the same thing.
The clients hand written report showed 1.51 and the error was there, not in the calculation.
You the man Duane
I am hoping someone can help me figure this 1 issue out.
The response RAC2 works great except for the following:
Int(Sum([20ENTERED]*20/500)) AS 20count, Int(Sum([20ENTERED]*20/500))*500 AS 20value, Int(Sum([20entered]))-[20value]/20 AS 20Lcount, Int(Sum([20ENTERED]*20))-[20value] AS...
Howdy Dhookom,
Yes these controls are all in the details section of my report. Like all begining..... (and I say this lightly) "programmers" I had a lot to learn, (and still do) when I created this report some time ago.
The report is based on a query:
SELECT [TABLES Query].SORT, [TABLES...
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.