Hello again folks,
I am having kittens here...my User keeps adding to the requirements - true scope creep in the best tradition of software design, eh?!
Simple one first,: I have a quotations form, and I also have an invoicing or Sales Form. When a customer moves from a quote to a sale, i need a way to click a button on the quote form, and all the data be transferred to the invoice form. Naturally the fields are the same.
Can someone show me the syntax for this?
Thanx,
Stonward.
3 1864 FishVal 2,653
Recognized Expert Specialist
Hello again folks,
I am having kittens here...my User keeps adding to the requirements - true scope creep in the best tradition of software design, eh?!
Simple one first,: I have a quotations form, and I also have an invoicing or Sales Form. When a customer moves from a quote to a sale, i need a way to click a button on the quote form, and all the data be transferred to the invoice form. Naturally the fields are the same.
Can someone show me the syntax for this?
Thanx,
Stonward.
Hi, Stonward.
I guess the "all the data" is being "transferred" on the table level. ;)
When you need a form to be repopulated with it's recordsource data you should just invoke Requery method of the form.
e.g. -
Forms![Sales Form].Requery
-
Sorry FishVal, but that's not it...I'm aware of the requery event. Indeed, I've SEEN the code I'm looking for now, but can't find where, and can't yet seem to get it right - tho' I'm working on it still.
I have, say, field1 on form1, and i want to transfer field1.value to form2.field1.value. (Do you like my pseudocode?!
Thanx,
StonwardR
FishVal 2,653
Recognized Expert Specialist
Sorry FishVal, but that's not it...I'm aware of the requery event. Indeed, I've SEEN the code I'm looking for now, but can't find where, and can't yet seem to get it right - tho' I'm working on it still.
I have, say, field1 on form1, and i want to transfer field1.value to form2.field1.value. (Do you like my pseudocode?!
Thanx,
StonwardR
Hi, Stonward.
You can refer to objects of any opened form via Forms collection.
e.g. -
Forms![Some form]![ctlField1] = .......
-
But your intension seems to be bizzare. Do you want to use form for programmatical data transferring? Whats wrong with data transferring on table level via SQL, Recordset or bound control on the same form? What supposed to happen if the receiver form is closed, transfer fail?
I mean form object is dedicated for manual data input. Code may use more reliable ways. Hope this makes a sense.
Regards,
Fish
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: r_burgess |
last post by:
I am looking for some guidance on transferring data between two pages in my
ASP.net Web app (intranet).
I have a form that will have a button and a text box on it (among other
controls of course)...
|
by: hzomorodi |
last post by:
Hi, I am trying to find methods/tools that will help me automate the
process of manually copying some data from one web page form and
pasting them to another.
We have to frequently fill out a...
|
by: Rani |
last post by:
hi guys I don't know if this is the right place for it but
I created 2 pages
in page one there is a text box in which the user enters his name,
in page 2 there is a the same text box.
I would...
|
by: http://www.visual-basic-data-mining.net/forum |
last post by:
Does anyone have any idea how to transferring data from TextBox1 in form1 to
textBox2 in form2.....
That means after i fill in any data in textBox1 and click Next button...
It will bring me to...
|
by: Dino |
last post by:
dear all,
i got this script form a customer. in general, it recieves data which is send
via http to a server and generates a .xml file from this data.
because i'm not familar with .asp, i'm...
| |
by: ControlHead |
last post by:
Hello All,
I have a tricky problem. I have two forms in MS Access where the user enters information.
The first form links to a table with only one record where data is entered via text boxes....
|
by: princei2007 |
last post by:
hi, iam just a beginner with php and curl.i search a lot but not able to find out the find out the problem i am gating.
I am first sending data to a php a file then using CURL on the php file iam...
|
by: =?Utf-8?B?Z29sZGVucmF0ZQ==?= |
last post by:
Hi everyone,
I have a client who wants a solution for the following problem. I'm not sure
that its possible but I'll ask anyway.
The client has joined godaddy's reseller plan. They've provided...
|
by: angusfreefa |
last post by:
Dear All,
I am facing a problem of transferring data between 2 tables within the same database.
I set up 2 tables. The first table is the permanent table (oos_table) for saving records. the...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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,...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |