A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Desperate for help......Would like to automate text entry...



 
 
Thread Tools Display Modes
  #1  
Old September 5th, 2006, 07:24 PM posted to microsoft.public.access.forms
ELC
external usenet poster
 
Posts: 4
Default Desperate for help......Would like to automate text entry...

Just to start off, I know nothing about coding, so I am definitely trying to
find a way to do this using expressions or macros because I only have a few
days to finish this project (before I leave for another job) and I'm
wondering if what I want to do is even possible at this point.

So, here's what I want to do:
I am attempting to set up a new form for easier data entry into my firm's
main db which serves to hold contact and other information for hundreds of
merge documents that are already set up based on the fields and field names
already set up in the database. So, I really don't want to seperate
information into other tables from what I have now. But, I would like to be
able to set up my form so that, when the user selects one option from a list
box for a certain field, then certain subsequent fields automatically
complete with the correct corresponding information. Ie, if A, then Field 2 =
123, Field 3 = New York, Field 4 = (123) 456-7890, if B, then Field 2 = 456,
and etc. However, I have NO idea how to do this.

My first problem is, how do I even "link" for lack of a better word, the
subsequent fields to the first to create an event function. Then, is there an
event function that can pertain to another field based on selection from the
first field's list box?

And again, for those of you who can suggest coding, I really appreciate it,
but unless you can come teach it to me in the next 24 hours it probably won't
help me a whole lot, although I do appreciate ANY help I can get!!

Thanks all!!
  #2  
Old September 5th, 2006, 10:16 PM posted to microsoft.public.access.forms
mscertified
external usenet poster
 
Posts: 835
Default Desperate for help......Would like to automate text entry...

You need to employ the 'After Update' event.
You really need vb code to do this.
Its not hard.
IF Me!ListBoxName = "Whatever" Then
Me!SomethingElse = "abc"
Me!Anotherthing = "xyz
End if
If the other controls you want to set are listboxes or combo boxes, its gets
a bit more complex.

-Dorian

"ELC" wrote:

Just to start off, I know nothing about coding, so I am definitely trying to
find a way to do this using expressions or macros because I only have a few
days to finish this project (before I leave for another job) and I'm
wondering if what I want to do is even possible at this point.

So, here's what I want to do:
I am attempting to set up a new form for easier data entry into my firm's
main db which serves to hold contact and other information for hundreds of
merge documents that are already set up based on the fields and field names
already set up in the database. So, I really don't want to seperate
information into other tables from what I have now. But, I would like to be
able to set up my form so that, when the user selects one option from a list
box for a certain field, then certain subsequent fields automatically
complete with the correct corresponding information. Ie, if A, then Field 2 =
123, Field 3 = New York, Field 4 = (123) 456-7890, if B, then Field 2 = 456,
and etc. However, I have NO idea how to do this.

My first problem is, how do I even "link" for lack of a better word, the
subsequent fields to the first to create an event function. Then, is there an
event function that can pertain to another field based on selection from the
first field's list box?

And again, for those of you who can suggest coding, I really appreciate it,
but unless you can come teach it to me in the next 24 hours it probably won't
help me a whole lot, although I do appreciate ANY help I can get!!

Thanks all!!

  #3  
Old September 6th, 2006, 01:45 PM posted to microsoft.public.access.forms
ELC
external usenet poster
 
Posts: 4
Default Desperate for help......Would like to automate text entry...

Thank you VERY much!! I think I can handle it if it's only that much code.
Thanks again!

"mscertified" wrote:

You need to employ the 'After Update' event.
You really need vb code to do this.
Its not hard.
IF Me!ListBoxName = "Whatever" Then
Me!SomethingElse = "abc"
Me!Anotherthing = "xyz
End if
If the other controls you want to set are listboxes or combo boxes, its gets
a bit more complex.

-Dorian

"ELC" wrote:

Just to start off, I know nothing about coding, so I am definitely trying to
find a way to do this using expressions or macros because I only have a few
days to finish this project (before I leave for another job) and I'm
wondering if what I want to do is even possible at this point.

So, here's what I want to do:
I am attempting to set up a new form for easier data entry into my firm's
main db which serves to hold contact and other information for hundreds of
merge documents that are already set up based on the fields and field names
already set up in the database. So, I really don't want to seperate
information into other tables from what I have now. But, I would like to be
able to set up my form so that, when the user selects one option from a list
box for a certain field, then certain subsequent fields automatically
complete with the correct corresponding information. Ie, if A, then Field 2 =
123, Field 3 = New York, Field 4 = (123) 456-7890, if B, then Field 2 = 456,
and etc. However, I have NO idea how to do this.

My first problem is, how do I even "link" for lack of a better word, the
subsequent fields to the first to create an event function. Then, is there an
event function that can pertain to another field based on selection from the
first field's list box?

And again, for those of you who can suggest coding, I really appreciate it,
but unless you can come teach it to me in the next 24 hours it probably won't
help me a whole lot, although I do appreciate ANY help I can get!!

Thanks all!!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.