Write Clientnumber, The Rest Is Looked Up

Jul 6, 2006

Hello there!

I would like to create a form where a clientnumber is entered in a textbox1, and when the value has been entered, the name, adress and other info about the client will appear...

I really need to get this one right.

Thank you in advance :-)

JR

View Replies


ADVERTISEMENT

First Letter Should Be A Capital, The Rest Not

May 31, 2006

Hi,

I have a set of data and some are in capitals and some are not. This set of data is meant to be used for a mailing, and the home style of my company only allows the first letter to be a capital, the rest should be normal letters. Anyone have an idea how I can arrange this?

Thanks in advance!

View 4 Replies View Related

Rest Of Form Will Not Update.

Oct 3, 2005

Hi all,

I am trying to design a database from scratch that duplicates some of the functionality in this database template from Microsoft: http://office.microsoft.com/en-us/templates/CT011366821033.aspx

In the form "Classes Subform" when you click on a Students Name the rest of the form is populated.

http://img215.imageshack.us/img215/2110/goodform0ib.th.png (http://img215.imageshack.us/my.php?image=goodform0ib.png)

But when I try to duplicate this form functionality in my Database I am not able to get the rest of the form to update.

http://img215.imageshack.us/img215/4845/badform9wg.th.png (http://img215.imageshack.us/my.php?image=badform9wg.png)

From what I can tell both forms use the same type of source query, relationship, etc.

Do you have an idea of what I may be missing?
Thanks Steve

View 4 Replies View Related

General :: Missing Data For One User But Not The Rest

Jul 10, 2012

I work in an office where we use the same database in a folder on a shared server. When Mary Jane is signed on to her computer she can't see all of the data for a record but I am able to see all of the data for the same record on my computer. So I had Mary Jane log out of windows on her computer and I logged onto window on her computer. Once I was logged onto windows on Mary Jane's computer, I then opened the database in the same folder on the shared server and I was able to see all of the data for that record.

View 1 Replies View Related

Reports :: Hide Section On 1st But Show On Rest

Mar 22, 2013

I want to add a section to my report and control the visible value based on page (1st, 2nd, etc...)

So:

1st page show 'Page Header' which has lots of detail, but dont show 'AccNum.Header' section.

2nd, 3rd, etc.. don't how 'Page Header' as I don't need lots of detail, but show the 'AccNum.Header' as this has customer name and Invoice numer, which is enough header information of all the rest of the pages.

Tried using 'On Page' and logoc aroung [Page] but no progress.

View 2 Replies View Related

Forms :: Comment Box To Copy To The Rest Of Queried Records

Jan 13, 2015

Here is my code...if I take out the where statement..it copies the remarks all the way down my table to all the records...with the where statement..it's prompting in for parameters..

Private Sub Remarks1_Click()
Dim strMsg As String, strQry As String, strRemark As String
strMsg = "Update All Comments in the Current view. IMPORTANT!!! Will update a the Viewed records."

[Code].....

View 2 Replies View Related

Linked Count Queries / One Null Query Blanks Out All The Rest.

Dec 17, 2007

Hi all,Desperate for help on this.The query below ran like a charm for this years database which was full of entries, but when I did a quick test run for next year with limited entries the 'Temp' table fields were all blanked. All the individual queries, 1 through 9, work fine on their own and work fine in this linked form when there is enough data in the database to cover all the fields. Apparently if only one query is blank all the fields will be blank.For instance if there are multiple registered households, table ‘1’ would normally show a count of those households, but if none of those households have children, table '2' which counts children will be blank and in turn blank out all the rest of the fields including table ‘1’.I've tried the ‘is null, '=0" and ‘nz’ routines on the Count(Tablename.Fieldname)'s, but can't seem ‘to get them to output a value of 0 in the null fields. I must be doing something wrong. Any and all help would be very much appreciated.SELECT Year(Now()) AS ProjectYear, [1].CountOfClaimID AS Households, [2].CountOfPersonID AS Children, [3].CountOfPersonID AS Participants, [4].CountOfSponsorID AS SponsorsTotal, [5].CountOfHouseholdID AS Sponsored,[6].FamiliesWithChildren, [7].SponsoredFood, [8].SponsoredGifts, [9].SDSD INTO TempFROM (SELECT Count(Household.ClaimID) AS CountOfClaimID FROM Household GROUP BY Household.RegStatus HAVING (((Household.RegStatus)=-1))) AS 1, (SELECT Count(Members.PersonID) AS CountOfPersonID FROM Household INNER JOIN Members ON Household.HouseholdID = Members.HouseholdID GROUP BY Household.RegStatus, Members.Status HAVING (((Household.RegStatus)=-1) AND ((Members.Status) = "Child" ))) AS 2, (SELECT Count(Members.PersonID) AS CountOfPersonID FROM Household INNER JOIN Members ON Household.HouseholdID = Members.HouseholdID GROUP BY Household.RegStatus HAVING (((Household.RegStatus)=-1))) AS 3, (SELECT Count(Sponsors.SponsorID) AS CountOfSponsorID FROM Sponsors GROUP BY Sponsors.SponsorStatus HAVING (((Sponsors.SponsorStatus)=-1))) AS 4, (SELECT Count(Sponsorship.HouseholdID) AS CountOfHouseholdID FROM Sponsors INNER JOIN Sponsorship ON Sponsors.SponsorID = Sponsorship.SponsorID GROUP BY Sponsors.SponsorStatus, Sponsorship.SponsorshipYear HAVING (((Sponsors.SponsorStatus)=-1) AND ((Sponsorship.SponsorshipYear)=Year(Now())))) AS 5,(SELECT Count([Table0].HouseholdID) AS FamiliesWithChildrenFROM (SELECT Households_All.HouseholdID, IIf([Children]>0,1,2) AS FamChildrenFROM Households_AllGROUP BY Households_All.HouseholdID, Households_All.ChildrenHAVING (((IIf([Children]>0,1,2))=1))) as Table0) AS 6,(SELECT DISTINCT Count(Household.HouseholdID) AS SponsoredFoodFROM Household INNER JOIN Sponsorship ON Household.HouseholdID = Sponsorship.HouseholdIDGROUP BY Household.RegStatus, Sponsorship.SponsorshipYear, Sponsorship.FoodHAVING (((Household.RegStatus)=-1) AND ((Sponsorship.SponsorshipYear)=Year(Now())) AND ((Sponsorship.Food)=-1))) AS 7,(SELECT DISTINCT Count([Household].[HouseholdID]) AS SponsoredGiftsFROM (Household INNER JOIN Sponsorship ON [Household].[HouseholdID]=[Sponsorship].[HouseholdID]) INNER JOIN (SELECT Households_All.HouseholdID, IIf([Children]>0,1,2) AS FamChildrenFROM Households_AllGROUP BY Households_All.HouseholdID, Households_All.ChildrenHAVING (((IIf([Children]>0,1,2))=1))) as Table0 ON [Household].[HouseholdID]=[Table0].[HouseholdID]GROUP BY [Household].[RegStatus], [Sponsorship].[SponsorshipYear], [Sponsorship].[Gifts]HAVING (((Household.RegStatus)=-1) AND ((Sponsorship.SponsorshipYear)=Year(Now())) AND ((Sponsorship.Gifts)=-1))) as 8,(SELECT DISTINCT Count(Household.HouseholdID) AS SDSDFROM HouseholdGROUP BY Household.RegStatus, Household.SDSDHAVING (((Household.RegStatus)=-1) AND ((Household.SDSD)=-1))) as 9; Thanks much,aldo

View 2 Replies View Related

General :: Click On List Lookup Employee / Select ID And Then Form Will Fill In Rest

Nov 6, 2012

I have a form, "Update Employee Information" that allows me to navigate through records and change data like name, adress, etc. I would like to know how to create list (or autofill) so that it won't take long before finding an employee.For example: I have a Employee ID and would like to search on that so the form can fill in the rest of my information. I have thought of two methods that I like:

(1) Click on a list "Lookup Employee", select ID and then the form will fill in the rest

(2) Without clicking a link, typing in the ID in the form and the rest of the data gets filled in.

View 5 Replies View Related

Report With Three Labels As Heading On One Level / Display Rest Of Headings On Another Level

Nov 21, 2011

I need to create a report that has three labels as a heading on one level and then it will display the rest of the headings on another level.

View 2 Replies View Related

Where To Write It?

Jun 12, 2006

i need to update some textbox value when insert some value at another textbox.. like when i add 3 at 1st textbox, 2nd text box will calculate it auto matically wit this formula, 2ndtextbox = 1sttextbox - 1 ...

so where should i type ? query? how? default value? if need to wrte code, which 1 i need to write it? after update? before update?



TQ

View 1 Replies View Related

Write Conflict

Sep 16, 2005

on my laptop, i have an access front end with tables linking to sql server personal edition.

i open a linked table, edit a field, and i get a write conflict error message 'this record has been changed by another user since you edited it', and the save record button is not enabled

i have many linked tables, but this is the only table that gives me this error. i have deleted the table in sql server, and made a new table, and started the link process again, but still the write conflict.

also, as i dont know if this is related.

when i get tothe screen to link the tables, i see 2 table names prefixed with a "~", however, when i go into sql server, i cannot see any tables prefixed with a "~"

any responses would be most appreciative, as my project has effectively stopped until i can resolve this.

View 1 Replies View Related

Cannot Write To A Table

Oct 17, 2005

Hi
I have a small database written in access 2000 which has be compiled as a mdb, this resides on a file server and can be run from a number of workstations on the network .
It has been running ok for 2 years until a couple of weeks ago, on one particular pc the database opens and you can do reports etc view exist data as normal ,but you cannot write to a table ( these are contained in a second table only data base )
if you run the program on any other pc workstaion it works fine as it has for 2 years on this problimatic PC.

it must be something on the particular pc , we have reinstalled Access 2000 to no advail

Any Ideas on this

Regards
Sam

View 2 Replies View Related

Database Re-write

Jun 29, 2006

What is the best way to go about doing a 2.0 version of a database? When I wrote ours I was a newbie. Not that I am an expert now or anything but things could definately use an upgrade!!!

I need to clean up the forms, etc. Do I just dump all the tables in from the old one and start over?

I also want to completely revamp a couple of things. How would I make sure that all the purchase order numbers (auto number field) still matched?

Thanks for any ideas!

View 2 Replies View Related

Only Want To Write The 1st 7 Characters

Jan 24, 2005

users are using a hand held scan gun to enter data into a field. if the barcode is 12 characters long, I only want the 1st 7 to be written to the table.

I was thinking a validation rule using TRIM or LEN but can't seem to get it to work.

Any ideas?
Thanks

View 7 Replies View Related

Write To 2 Tables?

Oct 23, 2006

Hi all,

Is it possible for one field on a form to write to 2 tables?

e.g. i type in field "Owner" on my form which is sourced to "Owner" in table A but i would also like it to populate "Owner" in Table B.

Hope that makes sense.

Thanks

Mark

View 1 Replies View Related

Data Write

Jan 30, 2008

When does form data get written to a table?

I want to use the value from a textbox as openargs for another form. If I don't do a write to the table with SQL, then I get a NULL error on the getOpenArgs on the form. If I do do a write, then I get multiple occurrances of the record.

Thanks,
Mike

View 3 Replies View Related

How To Write Query

Aug 7, 2007

Hello, I need help writing a formula in a query

I have a database where I need to be able to pull different prices according to type.

For example, if it is a SH then I will need it to pull a certain price of an item under the SH level

if it is a DD, then I will need to pull a price of the item under the DD level

How can I write this formula in my query as an expression or do I need to write it as SQL dlookup.

If it is the dlookup, how do I write that.

Help!!!

View 1 Replies View Related

Write Several Records At Once

Apr 17, 2005

Hi there.

I have a contact table, and a mailing list table
Each contact can belong to one or more mailing lists. Hence a created a intermediate table to join the contact and mailing list tables, containing contactID and mailinglistID.

The problem is that when I want to register a contact in several mailing list, I need to be able to do it in one time :
For example, selecting the contact in a combobox, then affecting him to mailing lists by making multiple selection in a drop box or ticking checkboxes.

For example, I want contact 1 to belong to mailing list 3,6 and 8, wich would result in the jonction table in 3 records
1-3
1-6
1-8
without having to repeat 3 times the same operation for each mailing list.

Thanks for your help

(I m using access 97)

View 4 Replies View Related

Write Conflict

Jun 27, 2005

Hi,

I am keep on getting Write Conflict whenever I check a check box called chkHCE. There are over 3000 records and it's happening for every records. I would understand if it's happening once in a while but it's happening for every records.

Please suggest. I attached the error print shot. The data souce is a qry but updatable query. The query has two tables tie together. I never had any problems. Can anyone share their idea Please ???

Thanks

Code behind the chkHCE

Private Sub chkHCE_Click()
If Me.chkHCE.Value = True Then
Me.HCEInitialPrepared.Enabled = True
Me.HCECompletionDate.Enabled = True
Me.HCEType.Enabled = True
Else
Me.HCEInitialPrepared.Enabled = False
Me.HCECompletionDate.Enabled = False
Me.HCEType.Enabled = False
End If

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Me.CWSubform.Requery
Me.PlanWeight.Value = Me.PlanWeightCalc.Value

End Sub

View 2 Replies View Related

Write Error

May 8, 2006

I am getting the following error: Write Conflict--This record has been changed by another user since you started editing it....

I think i know why, but I am sot sure what to do about it.

I have a main form with a sub form, each is based on a stored procedure with only one table in it (not the same table) and only one parameter.

When I make a change to anythign in the subform I update the main form's "last changed date" field then when I hit save on the main form I get the error.

How do I resolve this?

I am using Access 2002 SP 3 with an .ADP not .MDB and MS SQL Server 2000.

View 1 Replies View Related

Write Conflict

Jan 8, 2004

Hello All,

I've created a query that resets a table entry called "Drum" to null if I change the record "Cable". This process works, except I get the following error when I do so:

" Write Conflict

This record has been changed by another user since you started editing it. If you save the record, you will overwrite the changes the other user made.
Copying the changes to the clipboard will let you look at the values the other user entered, and then paste your changes back in if you decide to make changes.

[Save Record] [Copy to Clipboard] [Drop Changes] "

I have set warnings to false but this still comes up.

Does this mean something is wrong with my method of updating the table? If not, is there any way I can stop the warning coming up?

Thanks to anyone who helps,

Bakerboy

View 4 Replies View Related

How To Write One Sql Statement Into Another

Apr 18, 2007

I am new to using sql statement in my codes. I need help in writing a sql statement using one sql statement (sql_1) in another (sql_2)? In the sql statements below, I am trying to replace "query2" with the sql statement (sql 1). Please help

sql 1: SELECT tbl_HourTypeMaping.CustomerCode_HTMP, tbl_HourTypeMaping.HourTypeCode
FROM tbl_HourTypeMaping
WHERE (((tbl_HourTypeMaping.CustomerCode_HTMP)="htmp_default"));

sql 2: INSERT INTO tbl_HourTypeMaping ( CustomerCode_HTMP, HourTypeCode )
SELECT Query2.CustomerCode_HTMP, tbl_HourType.HourTypeCode
FROM tbl_HourType LEFT JOIN Query2 ON tbl_HourType.HourTypeCode = Query2.HourTypeCode
WHERE (((Query2.CustomerCode_HTMP) Is Null));

View 2 Replies View Related

Please Help Write This Query

Feb 26, 2008

I having been going mad for a week trying to write a query, please help me.

I am trying to get the MaxServicedate for each Product (PIDFK) for every Location (LID), but then I also need the MaxServicedate regardless of Product use, for each Location that is smaller than the previosly obtained MaxServicedate.

I hope that makes sense.

I have tried this query
----------------------------------------------
SELECT T.LID,
T.PIDFK,
T.MaxOfServicedate,
Max(tblTakings.Servicedate) AS NextMax,
T.Installdate
FROM
(SELECT tblLocations.LID,
tblTakingsProductMM.PIDFK,
Max(tblTakings.Servicedate) AS MaxOfServicedate,
tblLocations.Installdate
FROM (tblLocations INNER JOIN tblTakings ON tblLocations.LID = tblTakings.FKLID)
INNER JOIN tblTakingsProductMM ON tblTakings.TID = tblTakingsProductMM.TIDFK
GROUP BY tblLocations.LID, tblTakingsProductMM.PIDFK, tblLocations.Installdate) AS T
LEFT JOIN tblTakings ON T.LID = tblTakings.FKLID
WHERE (((tblTakings.Servicedate)<[T].[MaxOfServicedate]))
GROUP BY T.LID,
T.PIDFK,
T.MaxOfServicedate,
T.Installdate
ORDER BY T.LID,
T.PIDFK
-------------------------------------
But I am missing some records!!

The subquery gives me all 90 records with the MaxServicedate for each PIDFK in each LID

The main query is missing the records that dont have a service date previous to the MaxServicedate in the subquery!

Any help appreciated.

Thanks

View 10 Replies View Related

Write Coflict Error

May 17, 2005

Hi,
I've had a customer request to have a larger area to type into a memo field. I've removed the memo field from the form and have added a button to bring up a form with just the memo field on it. A problem has arose from this that now when closing out of the form I get a write conflict error. I've never seen this before and there is only me logged into the database. How can I stop this from occuring?
Thanks

View 2 Replies View Related

How Would I Write This Email Code

Feb 22, 2007

Not being good at codes.

What I attemping to do is edit a email address, upon entering that field.

As of now I right click in the field and then edit the email address.

any ideas

View 2 Replies View Related

I Want To Write An Estimating Program

Mar 7, 2008

I am an estimator for an industrial and commercial insulation contractor. I have compiled an enormous amount of data over the years but I am still figuring all of my estimates by hand.
For instance, I might need to figure that a 3” pipe will be insulated with 2” thick fiberglass pipe covering. This pipe is outside, so it will need to be jacketed with .016” thick aluminum secured every 4” with sheet metal screws.
The 90 and 45 degree elbows need to be insulated with preformed fiberglass elbows and jacketed with preformed aluminum elbow covers. Every 15 feet there will be a pipe support. This line is a schedule 40 steel pipe and it has valves on it and each valve has a flange at both ends so the insulation for the valves will have to be big enough to fit over the flanges. Where the 3” pipe might require 2” of insulation, a 1” pipe might only require 1-1/2” of insulation. Each size and thickness has its own production figures. This is the same with prices for the types of insulation and jacketing.
I have compiled all of this information into tables. Where before I had to get out my books and look each up, no I go to my tables, find the amount per day, and calculated that by the number of items. I can look up each type of insulation for each type of fitting or valve and I can calculate how much time all of this will take. I can also look up to see what size covering will fit on a 3” flanged valve. I have another table that will tell me how many square feet of jacketing the pipe, fittings and valves will require. I have prices for all of the associated materials.
The same happens when I try to figure equipment or ductwork. We deal with many kinds of insulation and just as many jacketing and finishes.

I bought Access 2007 and have brought my tables in. I want to have a spreadsheet or form that will allow me to link this information together and make the proper calculations. I want to be able to change the pipe sizes or materials from a list and have the calculations adjusted accordingly.
Again, I have all of the figures; I just don't know exactly how to go about getting all of this linked together in one place. I have only dabbled in computer code writing and I really don't know very much about it. That is why I picked Access because I figured it would have about everything in it that I need. I know the layout of the form I need, I just don’t know where to go from there.
Any guidance would be appreciated.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved