G
Guest
How do I make the default value in my fields be the same as the previous record????
Thank you
Thank you
DJ said:How do I make the default value in my fields be the same as the previous record?????
DJ said:Thank you Marshall. What I want to do is:
1. Create a record with a customer name
2. Then the next record will automatically fill in the name of the previous customer
This form is for rapid data entry, so it would be helpful if I had information to fill in for one customer but 10 different items, if the customer name or number was automatically filled in when I create a new record. If your answer is to this, can you advise further as where I put it?? Again, thank you.
DJ said:what does "me" stand for. In the example you gave me for
duplicating the fields, do I put my field name as
the "controlname"
Thank you Marshall. What I want to do is:
1. Create a record with a customer name
2. Then the next record will automatically fill in the name of the previous customer
This form is for rapid data entry, so it would be helpful if I had information to fill in for one customer but 10 different items, if the customer name or number was automatically filled in when I create a new record. If your answer is to this, can you advise further as where I put it?? Again, thank you.
helpful if I had information to fill in for one customer-----Original Message-----
-----Original Message-----
If this is *just* data entry, and nothng else.. there's a
sneaky keyboard shortcut to "retrieve" the previous
records' data and place it into the current record. Click
on the text box or whatnot and do Ctrl + Alt' (or
something similar to that). This will repeat the data
manually, not programmically which would be loads easier,
but it should work for a temporary fix... As for the
programming, it's a pain the rear as I've been slogging
through the coding for the database I'm working on for
like 3 months now...
You could do what I do which is I have a drop down menu
(combo box) on my product form to "autofill" the
description. The dropdown box is coded: "Select distinct
[product].productname, [product].description from
products;" (you can get similar code from Help) anyway,
the column# is set to 2, but the widths are 3"; 0"; (to
hide the description column). Then in the Afterupdate
field, code: "description = Me!ProductName.Column{1}".
This will auto-fill the description in the proper box.
This should work, good luck!
sam.-----Original Message-----
I have the following scenario, possibly there is a better
way to do it, but I don't know for sure:
We have several thousand customers, each customer has
equipment at their location which we service. The
equipment has to be listed in the order in which it is
serviced, to save time, plus have the necessary parts,
etc., on board the trucks to service customer equipment.
At the beginning of the month we print work orders for
the entire month. We need to match up each work order in
a SQL dbase with the equipment sheets I am putting in
Access. The report is being pulled together by me in
Crystal Reports. The reason the customer number has to
be repeated is because the only way to put the equipment
in the order we need to, is to number it sequentially.
The customer number is being used as an 'anchor' field to
keep the equipment in the proper order.
Probably sounds like more work then necessary, but the
manager insists it has to be this way - I have created an
input form to help put the equipment and info about the
equipment into the data table using the features in
Access to make for rapid data entry, however, if a
customer has 100 pieces of equipment to be serviced, it
just doesn't make sense to retype the customer number 100
times. The customer number field is the main sort field,
then the order the equipment is serviced is the second
sort field.
As stupid as I might sound, I still can't figure out how
to make this statement work in order to do what I need to
do. Any help would be appreciated.
Thanks
DJ
the name of the previous customer
helpful if I had information to fill in for one customer
but 10 different items, if the customer name or number
was automatically filled in when I create a new record.
If your answer is to this, can you advise further as
where I put it?? Again, thank you. and
once only, and not
taking easy
to create an
.