473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Bound Issue!

I almost have a problem solved with the help of someone in here already. I just need yet to "bound" the control to the (EstimateID) or somehow.
I have a unbound value from a text box from another form and having it show up in a report.

What works is - =Forms!fmestimate!txtestimatetotal

The form I am looking up information from is "fmestimate"
Text Box Name is "txtestimatetotal"
Text Box Control is "=CDbl(nz([txtproductlaborcosttotal],0))+CDbl(nz([txtsalescommission],0))

The above gives me the estimate total on the report page but does not keep the total with the "EstimateID" or each record.

I have tried several ME.! scenerios with errors.

Please help this is the last piece of the puzzle before I can get this thing up and running.
Thanks
Gary
Apr 28 '08 #1
2 1281
Stewart Ross
2,545 Expert Mod 2GB
Hi Gary. You haven't given enough detail of the tables and queries underlying your report for me to be specific here, but I am certain that instead of trying to lookup a calculated field from another form you should include the calculated field directly in the query on which your report is based. I get the impression that you need to produce an intermediate group total of some kind for your estimates report, and you simply will not be able to do this by looking up a static value from another form.

Open the report's recordsource query, add the relevant table and join it on the appropriate fields (EstimateID and any other key fields that make the row references unique). Include a computed total for your estimate as a new computed field in your query. Your report can then total the computed field for you, grouped in whatever way is appropriate.

If you find this difficult to do please post the relevant SQL for your report along with sufficient detail of the tables you are accessing in your form to allow us to post revised code for you which will do what you need to do.

-Stewart
Apr 28 '08 #2
hi stewart,
thanks for your reply - with not to much sleep and alot of coffee worked it out.
thanks again for your help.
Gary
Apr 28 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jeff Grundy | last post by:
Why does addnew fail when I have a checkbox bound to a sql bit column? steps to recreate the problem: 1 - Create a table in sql with a varchar and a bit column. 2 - Add a couple of records to...
12
by: Russell E. Owen | last post by:
I have several situations in my code where I want a unique identifier for a method of some object (I think this is called a bound method). I want this id to be both unique to that method and also...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
0
by: Lyn | last post by:
I am having a frustrating time trying to do a simple insert of a BMP picture into a Bound Object Frame using both VBA and the Insert | Object... dialog. I had a separate post thread going on this...
4
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box...
22
by: Br | last post by:
First issue: When using ADPs you no longer have the ability to issue a me.refresh to save the current record on a form (the me.refresh does a requery in an ADP). We usually do this before...
2
by: Matt | last post by:
I have a number of TextBox controls bound to date fields in my application, and have come across a disconcerting issue: When you are entering data into the bound field, if you enter any string that...
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
3
by: kbannon | last post by:
I have come across a problem whereby occasionally a problem occurs with a data bound combo. The combo has an event which when changed causes a second combo to populate (its also data bound)....
0
by: Mike | last post by:
So here's the situation (.NET 2.0 btw): I have a form, and on this form is a textbox among many other databound controls. The textbox is bound to a field in a data table via the Text property. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.