473,387 Members | 1,510 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,387 software developers and data experts.

Data Not Insert To Table

There are 2 related textbox in my form. one is OrderID the primary key and another one is OrderNo. So I insert this expression in OrderNo
Expand|Select|Wrap|Line Numbers
  1. =Format("[OrderID];"000000")
but when i finished insert data into the form. the OrderNo is not inserted into the table.
Dec 5 '06 #1
8 1594
NeoPa
32,556 Expert Mod 16PB
Probably two separate problems.
1. Format([OrderID],"000000")
2. OrderNo must be bound to the field for it to update the table.

This really is a strange way to use it.
Surely you only want to set it for new records and not for records that already have a value?
Dec 5 '06 #2
MMcCarthy
14,534 Expert Mod 8TB
There are 2 related textbox in my form. one is OrderID the primary key and another one is OrderNo. So I insert this expression in OrderNo
Expand|Select|Wrap|Line Numbers
  1. =Format("[OrderID];"000000")
but when i finished insert data into the form. the OrderNo is not inserted into the table.
Check that the control source property of the OrderNo textbox is set to the related field in the table.

Mary
Dec 6 '06 #3
Probably two separate problems.
1. Format([OrderID],"000000")
2. OrderNo must be bound to the field for it to update the table.

This really is a strange way to use it.
Surely you only want to set it for new records and not for records that already have a value?
yes, its for new record. i will use OrderNo for search function not OrderID
Dec 7 '06 #4
BTW, how to bound OrderNo. to related field.
Dec 7 '06 #5
MMcCarthy
14,534 Expert Mod 8TB
BTW, how to bound OrderNo. to related field.
Open the properties of the control and under the data tab set control source to the relevant field.

Mary
Dec 7 '06 #6
ok done. but the problem the data is not insert to table.
Dec 7 '06 #7
Open the properties of the control and under the data tab set control source to the relevant field.

Mary
i have set it but the problem is still there.
Dec 7 '06 #8
MMcCarthy
14,534 Expert Mod 8TB
You will need to make sure the control source for OrderID is also set so it knows which record to update.

Mary
Dec 7 '06 #9

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

Similar topics

2
by: Simon | last post by:
Hi, I am having a little problem with my PHP - MySQl code, I have two tables (shown below) and I am trying populate a template page with data from both. <disclaimer>Now I would like to say my...
0
by: Redd | last post by:
The following is a technical report on a data modeling project that was recently assigned to me by my professor. I post it so that anyone else who is studying databases and data modeling can have...
4
by: jeff brubaker | last post by:
Hello, Currently we have a database, and it is our desire for it to be able to store millions of records. The data in the table can be divided up by client, and it stores nothing but about 7...
1
by: Diego Buendia | last post by:
I'm facing the next problem: I have a table with two columns (among others) modeling category and subcategory data for each row. I need to summarize info on this two columns, but with the next...
12
by: NickName | last post by:
I have the following situation. One set of data has 274 rows (set2) and anther has 264 (set1). Both data sets are similar in structure as well as values for both of them were extracts from the...
1
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
1
by: Matik | last post by:
Hey, First, sorry if this post appear twice, because, I can not find my post recently send, trying to post it once again. I'm out of ideas, so, I thought, will search help here again :( I'm...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
1
by: tim999 | last post by:
Hi everyone, I've been working on a large data extract and was wandering if anyone could take a look at the following code and offer any reasons why it takes such a long time compared to when i...
6
by: insirawali | last post by:
Hi all, I have this problem, i need to know is there a way i cn use the data adapter's update method in this scenario. i have 3 tables as below create table table1{ id1 int identity(1,1)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.