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

Automatic data update for a field value for the new record

Hello
Can anybody pls help me out.
I am creating a table with a field that has about 50,000 randomly
generated
values(RandomID). Everytime I enter a new record with new RecordID,
I want the next available RandomID to be automatically assigned to the
new record entry.
The form has 2 textboxes respectively assigned for RecordID and
RandomID.
The moment new recordID is entered, automatically the new randomID
should appear
in the form.
Any help in this regard will be highly appreciated.
Thanks
Anita
Nov 13 '05 #1
2 1772
ta*******@yahoo.com (anita) wrote in message news:<6e**************************@posting.google. com>...
Hello
Can anybody pls help me out.
I am creating a table with a field that has about 50,000 randomly
generated
values(RandomID). Everytime I enter a new record with new RecordID,
I want the next available RandomID to be automatically assigned to the
new record entry.
The form has 2 textboxes respectively assigned for RecordID and
RandomID.
The moment new recordID is entered, automatically the new randomID
should appear
in the form.
Any help in this regard will be highly appreciated.
Thanks
Anita


Is this a trick question or is there some reason you can't use an
AutoNumber and set the New Values property to Random?
Nov 13 '05 #2
pi********@hotmail.com (Pieter Linden) wrote in message news:<bf*************************@posting.google.c om>...
ta*******@yahoo.com (anita) wrote in message news:<6e**************************@posting.google. com>...
Hello
Can anybody pls help me out.
I am creating a table with a field that has about 50,000 randomly
generated
values(RandomID). Everytime I enter a new record with new RecordID,
I want the next available RandomID to be automatically assigned to the
new record entry.
The form has 2 textboxes respectively assigned for RecordID and
RandomID.
The moment new recordID is entered, automatically the new randomID
should appear
in the form.
Any help in this regard will be highly appreciated.
Thanks
Anita


Is this a trick question or is there some reason you can't use an
AutoNumber and set the New Values property to Random?

Thanks Pieter for your reply. Unfortunately I have been asked to use
the existing alphanumeric generated random numbers. So I cant set it
to Autonumber.
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
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...
3
by: BlackFireNova | last post by:
This concerns an Access 2002 (XP) database. There are two fields, "Notes" (Memo Field) and "Notes Update" on a form (among others) which I am concerned with here. Problem: I need to be able...
4
by: Bob Alston | last post by:
I have a subform with multiple records tied to a main record and main form. In the subform I create and update the subform records. However, there are other pieces of data, statistics, I want to...
2
by: David Richards | last post by:
Hi, Hopefully someone can help me. I have setup a continuous form that displays customer names and addresses. I have then place a txt box on the form header. Using the onChange event I've setup...
9
by: Brad | last post by:
I have written some code to manipulate data/records in a MASTER (order header) and DETAIL (order details) tables. What I have written is too extensive to post but essentially trying to: 1....
1
by: rdemyan via AccessMonster.com | last post by:
My App has 10 or so tables that we provide that contains proprietary data. This data will need to be updated once or twice a year. I would like some comments, suggestions on my proposed strategy...
3
by: cyber0ne | last post by:
I'm designing a basic form for data entry into one main table. There are two fields in the table that I would like to be automatically populated, not user-entered, when the record is posted. ...
11
by: bbasberg | last post by:
Hello, I have been struggling with this problem for DAYS and have googled my heart out as well as reading any books I could get my hands on but I cannot find any specific references to my problem....
7
by: CodeGunnerLev1 | last post by:
Good day guys... I must say this forum is quite of useful one. I really appreciate what you guys are doing and I hope it will continue on. I have few questions that needs some help. 1. I want...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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
Oralloy
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,...
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.