473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Information from one form to another

rcollins
234 100+
I have three fields on my form that when I open the Add Contact form I want them to caay over. Last Name and First name are working fine because I do not need to store these in the table throuh the Add Contact form. the one I am having an issue with is ClientID. I have Control Source set as ClientID and Default Value as =[Forms]![frmContacts]![ClientID] so that it pulls the ID number from the previous form. The problem is that every time I input into one of the other fiields, it resets the ClientID to 0. Not good. Cay anyone help? Thanks
Dec 12 '07 #1
3 1117
NeoPa
32,556 Expert Mod 16PB
A little confusing as various items are referred to without any explanation / introduction. If I can read between the lines though, I'm surprised that you're getting the field reset to zero if you have the Default Value set.
I would consider setting the Default value to the literal value (using code) whenever [Forms]![frmContacts]![ClientID] is updated.
Dec 13 '07 #2
rcollins
234 100+
Thank you. I put the code when I opened the add client form. Worked great.
Dec 13 '07 #3
NeoPa
32,556 Expert Mod 16PB
That's great.
I think I remember you from before. You don't need everything as well spelled out as some do as I recall.
Dec 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Dave Smithz | last post by:
Hi there, I have a situation where I want to have multiple submit buttons on the same form and therefore want to use a redirection php script that checks the value associated with the submit...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
2
by: Raja Balaji R | last post by:
Hi, Is there is way to pass data from one page to another asp.net page without using for form posting, querystring, session and application variables. Thanks & Regards Raja Balaji R
2
by: PM | last post by:
I have a VB.NET question about ListViews and Forms. I have a listview with records. I want a user to be able to double-click on a record, and have a subform come up with detailed information...
7
by: Drum2001 | last post by:
I am creating a database to track employee time. I have created a form that allows them to select from a combo box their task, enter their hours, and add any comments they may have. In the...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
2
by: whitc26 | last post by:
Let me preface: I'm a novice, and have no programming experience. I have created an access database and have a few tables in it. I have created a form called "clients" This form opens up and...
1
by: mdk7 | last post by:
I am very new to developing forms and queries with Access. The task that I am required to complete is as follows: Build a form based user interface that displays various information from the...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
5
by: caconklin | last post by:
Access 2003, Windows XP. Currently I am able to open a form - case form - based upon information input by the user in another form - search form. I would like to be able to open the case form...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.