John, thanks... I have another problem
I copied a number field from table to a text field in another table. The
text field is a length of 7. It contains charecters that I want to front
load with zeros. For example (9 ), I want to be (0000009), a (1234 )
I want it be (0001234). Is there a way in a query to accomplish this? If
you need to write code to open the file and read all the records, identifying
the length and adding 0s, then I really need help. I am exporting to a text
file and I don't know how many significant characters I have in any read of
the text field.
John Vinson said:
On Thu, 28 Sep 2006 03:55:01 -0700, NewHeartMan
Update[tblOutput]SET[tblOutput].[Fee Type]=[forms]![frmOutput].[Fee Type]
For one thing, you need some syntactical spaces; and the punctuation
is wrong:
Update [tblOutput] SET [tblOutput].[Fee Type]=[forms]![frmOutput]![Fee
Type];
Note that since you don't have any criteria set, this will update
*every record* in tblOutput to the value in the form. This also
assumes that the Form named frmOutput exists, is open, and contains a
control named [Fee Type] - not Fee_Type or txtFeeType or any other
variation. The Control Source of this control is irrelevant, it's the
Name property of the control that is used.
John W. Vinson[MVP]