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

You are currently viewing the VB Databases Basics 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 February 8th, 2006, 12:23 PM
Authorized User
 
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default functions(control source)

good day all,
  i want to create a data field that is the result of calculations from other fields.e:g

field 1-1000
field 2 -25
field 3-field 1*field 2
so the data in field 3 will be a calculated field .e.g-25000

am just trying out my first vb database application.

my background is access development,but i want to move entirely to vbasic database.


also,i want to know how to use the parent/child form features in vbasic development.

thanks.

 
Old February 8th, 2006, 12:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there...

what do you mean by vbasic database?? VB is a great front end for access..

also.. your problem with the fields are in the database?? or when you load the data?? or you already have the data??

and to use parent/child form you have to look at mdi forms...

HTH

Gonzalo
 
Old February 9th, 2006, 04:17 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default


Hi sola,
   You can use Number or Currency data type in access accoding to the type of data you are going to save in the field.


nalaka hewage





Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Data Source Control to Use in ASP.Net 2.0 srotondo ASP.NET 2.0 Basics 2 January 23rd, 2008 05:30 PM
Control properties in source view drmacy BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 September 25th, 2007 07:35 AM
Control properties in source view drmacy ASP.NET 2.0 Basics 5 September 17th, 2007 07:42 AM
Accessing parent control functions from child badgolfer VS.NET 2002/2003 2 January 9th, 2004 07:49 AM





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