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

opening in dataentry mode

24
when I open my form it show me the frist recored i entered
i am using Vb6
How it shows new recored entry when i open a form
just like this

id:12 Name:........................

address:........................... Telephone:...........................

Email:..................................
etc
Jan 11 '08 #1
4 1066
epots9
1,351 Expert 1GB
Moved to the VB Forums where the resident experts can better assist you.

**Moved from Programming Challenges.
Jan 11 '08 #2
Ali Rizwan
925 512MB
when I open my form it show me the frist recored i entered
i am using Vb6
How it shows new recored entry when i open a form
just like this

id:12 Name:........................

address:........................... Telephone:...........................

Email:..................................
etc
Wat type of control you are using ADODC or ADODB or someother?

Regards
>> ALI <<
Jan 11 '08 #3
arali
24
Wat type of control you are using ADODC or ADODB or someother?

Regards
>> ALI <<
please tell me about both.
Jan 12 '08 #4
CyberSoftHari
487 Expert 256MB
In form active event
Expand|Select|Wrap|Line Numbers
  1. ADODC1.RecordSet.MoveLast
In form active event
Expand|Select|Wrap|Line Numbers
  1. set objADODBrst  = objCon.Execute("Select Max(MYID) from TableName")
  2. objADODBrst.MoveLast
  3. textName.Text =  objADODBrst.Fields(0)
Jan 12 '08 #5

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

Similar topics

0
by: Jeff Pritchard | last post by:
This is a twisted little problem. A client has an Access 2000 front-end using linked tables to a DNS to SQL Server 2000 back-end. With an Access 2000 back-end there is no problem. The problem...
4
by: Jeff | last post by:
I have a need to open a report in design mode immediately before opening it in preview, to change the Minimum and Maximum scale on an axis on a chart. This results in a flash of the report in...
1
by: Tim Marshall | last post by:
Given a bound continuous subform in an unbound main form, a button on the subform sets allowadditions = true and dataentry = true. This works no problem. But a second button on the subform...
0
by: Rafal Kaminski | last post by:
Hi, The problem is that while opening MS Access database via ADO/Jet4 with connection mode set to adModeShareDenyWrite, this should prevent others from opening in write mode. But it denies...
6
by: Bob Quintal | last post by:
Using Access '97. I have a subform, where the .AllowAdditions property is set to false. I have a button labelled 'Add record' that sets this property = true, followed by a DoCmd.gotoRecord...
7
by: jim Bob | last post by:
Hi, I have a search form and upon double click on a name in the list box, a Candidate details form pops up. (no edits etc allowed, only viewing). I have a second form in dataentry mode which is in...
11
by: Lee Crabtree | last post by:
I've got a solution that has a C++ project that compiles to a DLL, and a C# project that is the main piece of the program. The DLL is managed C++ on top of regular C++. In one of the native...
8
by: Claudio Grondi | last post by:
Here an example of what I mean (Python 2.4.2, IDLE 1.1.2, Windows XP SP2, NTFS file system, 80 GByte large file): Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel-...
1
by: EJO | last post by:
I've looked around the groups and don't have tried some of the various suggestions to no avail. So I'm hoping someone can help me out here. I have a form that, when a cmd button is clicked,...
1
by: manu | last post by:
Hi, Can anyone please tell me the difference of opening file in Binary mode or in Text mode?
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
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
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
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
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 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.