Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
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 July 25th, 2005, 04:06 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Astro

Check this link
http://in.geocities.com/raghavendra_mudugal/db6.zip

I have changed the code bit. Now you can that label manually
in the design time. when you run the form1, the controls that
you add manually will never remove. Only that dynamic controls
which are added will be removed.

Check this and let me know.

Hope this helps and thank you so much for taking my advice.


With Regards,
Raghavendra Mudugal
 
Old July 25th, 2005, 09:53 PM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Raghavendra Mudugal

i am afraid i don't understand or perhaps i could have misinterpreted.

for example, when i click on button 'Next' after filling both textfields (project name and number of textfields), it will display the project name in a label of the next form and the number of textfields will also appear.

sorry if i didn't understand you, i'm still pretty weak with VBA programming.

http://us.f2.yahoofs.com/bc/42e5a4c8...kka5CB_XLJ4gxQ

this is what i have done so far, it is a lil messy and some forms are only for test purposes.



 
Old July 25th, 2005, 10:05 PM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh Hey Raghavendra Mudugal

i forgot to add that > http://in.geocities.com/raghavendra_...l/querydb1.zip
this works really well. Form 2 and Form 3 helped me understand passing of String to Label on next form really well. Thanks!

 
Old July 25th, 2005, 10:51 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Astro

From you previous two posts, i did'nt get , is your doubt or problem
is cleared or not.

And the link that you have posted here on your main.mdb, is not working.
If you have yahoo email account, then its better to upload your files
there, so i can download it any time.

If you have anything then, please let me know.

With Regards,
Raghavendra Mudugal
 
Old July 26th, 2005, 02:54 AM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is a copy of what i have been working on.

http://www.angelfire.com/fang/fiftytwo/db2.mdb

1)Open form SwitchBoard >>
2)New Test Project >>
3)(fill in textfields) >>
4)Next

you can see that the number of textfields appear just as desired.

i am trying to add a label above the textfields which will display the string, captured from the previous 'NewProject' form (where it says 'Enter Project Title').

i hope this is clearer, sorry for the confusion.
thank you.

 
Old July 26th, 2005, 03:19 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Astro,

Okay, I got the file. By the way, good work, as of now.

And from querydb1.mdb file, this problem will be solved.
Anyway you have all the things now. just to integrate
it to one database file.

All The Best.





With Regards,
Raghavendra Mudugal
 
Old July 26th, 2005, 03:45 AM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Raghavendra Mudugal,

i have managed to allow the label display String captured from previous textbox!
thanks! =)

 
Old July 26th, 2005, 03:53 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay. :)

I guess you have cleared the initial stage.



With Regards,
Raghavendra Mudugal
 
Old July 26th, 2005, 08:11 PM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks! =) there could be some deviation on where i am to continue on this project. waiting for more information.

 
Old July 26th, 2005, 09:44 PM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Raghavendra Mudugal,

From what i have as of now, after successfully creating the textfields. do you think it is possible that when i fill in the text-fields, the strings can be stored and added into a form that has already been created?

http://www.angelfire.com/fang/fiftytwo/screen1.JPG (text-fields)
http://www.angelfire.com/fang/fiftytwo/screen2.JPG (add strings into form)

adding extra questionaires into the form.

thank you! =)







Similar Threads
Thread Thread Starter Forum Replies Last Post
Update query: Editing phone number fields? monacle Access 2 February 27th, 2007 08:55 AM
Combining Text Fields lizhaskin Access VBA 1 May 1st, 2006 06:15 AM
Calculating text fields jayman Classic ASP Basics 13 March 6th, 2006 05:27 AM
MySQL Text Fields MAtkins General .NET 0 May 27th, 2005 03:17 PM
variable number of fields in record manisha.anand Oracle 0 July 1st, 2004 05:00 PM





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