Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 30th, 2007, 02:26 PM
Registered User
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reuse form for database entry

Hi. I have created some vb codes that create a form that have button for user to click. When the button is click the controls on the form i.e. textboxes, listboxes and textboxes will be copied or loaded and thus create many rows of control for the user to key in or type in information. These information will be stored in a mdb file. There is also another button on the form that calls another form (similar form) which allows the user to auto-generate rows of controls and to key in information. These forms are the same and have the same controls. The process of form launching another form which is similar is for the purpose of multi-layer information gathering. For example ..

form1 --> take in info on problem --> launch form1 --> take in info on problems that cause the problem on earlier form1 --> launch form1 --> take in info on problems that created earlier form1.

So the DB would have 1--> 1.1 --> 1.1.1 .. but all using the same form. The code to launch the same form is

Private Sub AddfrmCmd_Click(Index As Integer)
Dim frm As Form
Set frm = New ifrfrm
frm.Show
End Sub

but then how do I ensure the data entry is correct. Do I need to use a dynamic form array? I do not know how. The codes for data entry to mdb file is similar for form1.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching a database for an entry sconineuk VB.NET 2002/2003 Basics 6 March 24th, 2006 12:25 AM
New Record Data entry one form lgpatterson Classic ASP Basics 1 February 8th, 2005 12:58 AM
Database Entry Problems gmoney060 Classic ASP Databases 4 November 9th, 2004 08:19 AM
Database Double Entry isg2000 Access ASP 1 June 13th, 2003 04:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.