?
Solved

Forms : Give a textfield the value of the concatenation of 2 previous fields

Posted on 2002-03-21
5
Medium Priority
?
254 Views
Last Modified: 2006-11-17
Hi,

I'm new in programming forms in Access ( via VB or wizards).

On a form I have created a textfield A and a date field B.
I have another field C.  C is empty when opening the form and should have the value of the contatenation of A+B on exit of field B.  ( C is gonna be used as unique key).
How do I do that. I tried with C Default Value = [A]+[B].
But alas.


Somebody ideas.   Also can you please recommand we some tutorials on programming in Access  (VB and wizards) who are on the web?
0
Comment
Question by:ruddi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 6884938
Hi ruddi,

In Form_Current Event, try:

A.Value = B.Value + C.Value
0
 
LVL 1

Expert Comment

by:kirthir
ID: 6884949
In the killfocus event of B, add the following code

C.value = A.value+B.value
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6884989
for the second part of the Q you could check

http://www.microsoft.com/OfficeDev/Articles/OPG/
0
 
LVL 1

Accepted Solution

by:
kirthir earned 400 total points
ID: 6884992
For the second part of the Question, you can check the following site
 
http://www.mvps.org/access/

0
 

Author Comment

by:ruddi
ID: 6885286
I hope the other ones are not angry at me because I give the points to kirthir. The tutorial he linked me to is just what I search however  (and free).
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question