Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 May 8th, 2005, 05:45 AM
Authorized User
 
Join Date: Mar 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to akash Send a message via MSN to akash
Default FOURMULA IN VB6

I have stored formula like fld1 + fld2 in one field of table of MSACCESS . Now I want to calulate their values using VB6 program
Like in foxpro fo e.g.
Dprice=500
AA= "100*DPRICE"
if we show aa it will display 100*price
if we show &aa is show 100*value of price = 100*500 where price is a field name

similar I want to use msaccess table in VB6
But unable to use it
Help if U can
Akash


 
Old May 9th, 2005, 09:31 AM
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

mmm.. you cannot do what foxpro does..at least not in VB...

you can achieve something similar using callbyname, buy you will need from before what you will be acceding...


HTH

Gonzalo
 
Old May 9th, 2005, 03:52 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Perhaps there is another way. What is it that you are trying to accomplish (in the broader picture)?





Similar Threads
Thread Thread Starter Forum Replies Last Post
SUB NAME IN VB6 Nadalik VB How-To 2 June 21st, 2006 03:30 AM
VB6 how to use a COM+ pevl VB Components 3 November 26th, 2005 09:16 AM
VB6 How to minhtri VB How-To 2 September 30th, 2004 06:08 AM
Where to get VB6 HaXXeD Beginning VB 6 2 December 5th, 2003 04:21 PM
VB6 ?? wickman Wrox Book Feedback 1 June 5th, 2003 08:50 AM





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