Hi:
I have a form, and wish to show on the form the current total for a single field on a
table. I have set this up thus: =DSum([Total],[table]![tbltimesheetsnew]) in an unbound
text field. These are correct field and table names. While the formulation is accepted by
the system, nothing appears in the field and no results show up at all. I tried a number
of combinations with no success. Can someone tell me what I am doing wrong?
Thanks
John Baker 4 2999
The arguments for DSum are strings, thus:
=DSum("[Total]","tbltimesheetsnew")
HTH
- Turtle
"John Baker" <Ba******@Verizon.net> wrote in message
news:1o********************************@4ax.com... Hi:
I have a form, and wish to show on the form the current total for a single
field on a table. I have set this up thus: =DSum([Total],[table]![tbltimesheetsnew])
in an unbound text field. These are correct field and table names. While the formulation
is accepted by the system, nothing appears in the field and no results show up at all. I
tried a number of combinations with no success. Can someone tell me what I am doing
wrong? Thanks
John Baker
Thanks:
OK
Set it up:
=DSum("[Travel$]","[tbltimesheetsnew]")
and still wont work. I tried putting [Table]! in front of the sheet name, but no joy
there.
This will work on a form wont it?
My concern is that I am using the experssion builder, and when i click OK nothing appears
in the unbound field.
Any other suggetions?
JOhn
"MacDermott" <ma********@nospam.com> wrote: The arguments for DSum are strings, thus: =DSum("[Total]","tbltimesheetsnew")
HTH - Turtle
"John Baker" <Ba******@Verizon.net> wrote in message news:1o********************************@4ax.com.. . Hi:
I have a form, and wish to show on the form the current total for a single field on a table. I have set this up thus: =DSum([Total],[table]![tbltimesheetsnew]) in an unbound text field. These are correct field and table names. While the formulation is accepted by the system, nothing appears in the field and no results show up at all. I tried a number of combinations with no success. Can someone tell me what I am doing wrong? Thanks
John Baker
John,
I set up a table called "tbltimesheetsnew" with the following field name:
'Total", formatted as Number.
I then created a form with this DSUM function:
=DSum("[Total]","[tbltimesheetsnew]")
It sums correctly - try it.
HTH
"John Baker" <Ba******@Verizon.net> wrote in message
news:1o********************************@4ax.com... Hi:
I have a form, and wish to show on the form the current total for a single
field on a table. I have set this up thus: =DSum([Total],[table]![tbltimesheetsnew])
in an unbound text field. These are correct field and table names. While the formulation
is accepted by the system, nothing appears in the field and no results show up at all. I
tried a number of combinations with no success. Can someone tell me what I am doing
wrong? Thanks
John Baker
Thanks, that works.
From hacking round it appears that when I use the "Build Event" capability on an unbound
field, the resulting code does not go directly intro the field when I click Ok. Rather, I
have to copy it and paste it into the field in question. One of those niggling things that
frustrated the newby!
Thanks again
John Baker
"YFS DBA" <Ny**********@prexar.com> wrote: =DSum("[Total]","[tbltimesheetsnew]") This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rolan |
last post by:
I'm using Access 97 and need some assistance in sorting out a proper
DSum expression, or maybe even DCount might be an alternative. I have
tried numerous combinations, but with no apparent success....
|
by: Dalan |
last post by:
I seemed to be having problems with structuring the use of NZ with a
DSum expression. Having tried numerous variations of the expression
without success, I'm asking for assistance.
First some...
|
by: Mark Reed |
last post by:
All,
I have never used this function before and am not sure it what I need.
Just to clarify, I have a report based on a query which has amoungst other
field, wk, parea & packs_req. What I am...
|
by: gbb0330 |
last post by:
Hi All
i am trying to calculate Quantity on hand in a unbound textbox in a
form with a subform
QonHand=Qreceived - TotalQSold
TotalQsold=QsoldOnEbay+QsoldThruOtherChannels
here is my...
|
by: kaosyeti |
last post by:
so i'm new to access but i've done a lot in the last 3 months since i looked
at it for the first time back then. so when i finished my first db for my
job, i cut it close to the end of the year...
|
by: potassium flower |
last post by:
I am trying to create a food order system for a restaurant.
I have tried using both the DSum and Sum functions to calculate the total cost of an order. The total cost is a textbox on the form...
|
by: danielgoss |
last post by:
Hi
I have a report that has loads of textboxes that calculate things based on the value on another textbox in the report. I have put a hidden textbox on my report that gets its value from an...
|
by: lulu123 |
last post by:
i have a textbox in a form. Where i want it to calculate the total of hours for different employees in different month.
when i use "=sum()" it gives the the total of all employee in all of the...
|
by: majapa |
last post by:
To start, here is my DSum expression:
Develop: Nz(DSum(". & "] + . & "]","CSO","='Ability to Develop'")*-1,0)
I actually have 4 of these, each one with a different option for .
For more context,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |