Microsoft Visual FoxPro 6.0 Form

Microsoft Visual FoxPro 6.0 Form (.scx)

*Note: Visual FoxPro Form support only Windows XP operation system.

Step-2

TEXT5                                                                        GOTFOCUS

A=THISFORM.TEXT3.VALUE

B=THISFORM.TEXT4.VALUE

C=A*B

THISFORM.TEXT5.VALUE=C

Step-3

(.dbf File Making)

Field Name                  Type                      Width              Dec

PRODCODE              Character                   8                                 

PRODNAME              Character                   20                   

QTY                            Numeric                      6                      2

RATE                          Numeric                      6                      2

VALUE                       Numeric                      8                      2                     

Step-4

FORM                                                                          LOAD

SET TALK OFF

SET SAFE OFF

USE JIRAT (.dbf File Name)

INDEX ON PRODCODE TO PANDUA (.idx File Name)

FORM                                                                 ACTIVE

GO TOP

THISFORM.TEXT1.VALUE=PRODCODE

THISFORM.TEXT2.VALUE=PRODNAME

THISFORM.TEXT3.VALUE=QTY

THISFORM.TEXT4.VALUE=RATE

THISFORM.TEXT5.VALUE=VALUE

FORM                                                              DEACTIVE

USE

SET TALK ON

SET SAFE ON

TEXT2                                                              GOTFOCUS

C=ALLTRIM(THISFORM.TEXT1.VALUE)

L=LEN(C)

IF L<8

                WAIT WINDOW “IT MUST BE 8 CHARECTER”TIMEOUT 3

                THISFORM.TEXT1.SETFOCUS

ELSE

                SEEK C

                IF FOUND()

                                WAIT WINDOW “IT CAN NOT BE DUPLICATE”TIMEOUT 3

                                THISFORM.TEXT1.SETFOCUS

                ELSE

                                THISFORM.TEXT2.SETFOCUS

                ENDIF

ENDIF

FIRST                                                       CLICK

GO TOP

THISFORM.TEXT1.VALUE=PRODCODE

THISFORM.TEXT2.VALUE=PRODNAME

THISFORM.TEXT3.VALUE=QTY

THISFORM.TEXT4.VALUE=RATE

THISFORM.TEXT5.VALUE=VALUE

NEXT                                                                            CLICK

IF EOF()

                WAIT WINDOW”YOU ARE IN LAST RECORD”TIMEOUT 3

                GO BOTTOM

ELSE

SKIP

ENDIF

THISFORM.TEXT1.VALUE=PRODCODE

THISFORM.TEXT2.VALUE=PRODNAME

THISFORM.TEXT3.VALUE=QTY

THISFORM.TEXT4.VALUE=RATE

THISFORM.TEXT5.VALUE=VALUE

PREVIUS                                                                                         CLICK

IF BOF()

                WAIT WINDOW”YOU ARE IN FIRST RECORD”TIMEOUT 3

                GO TOP

ELSE

                SKIP-1

ENDIF

THISFORM.TEXT1.VALUE=PRODCODE

THISFORM.TEXT2.VALUE=PRODNAME

THISFORM.TEXT3.VALUE=QTY

THISFORM.TEXT4.VALUE=RATE

THISFORM.TEXT5.VALUE=VALUE

LAST                                                                      CLICK

GO BOTTOM

THISFORM.TEXT1.VALUE=PRODCODE

THISFORM.TEXT2.VALUE=PRODNAME

THISFORM.TEXT3.VALUE=QTY

THISFORM.TEXT4.VALUE=RATE

THISFORM.TEXT5.VALUE=VALUE

UPDATE                                                                                          CLICK

REPLACE PRODCODE WITH THISFORM.TEXT1.VALUE

REPLACE PRODNAME WITH THISFORM.TEXT2.VALUE

REPLACE QTY WITH THISFORM.TEXT3.VALUE

REPLACE RATE WITH THISFORM.TEXT4.VALUE

REPLACE VALUE WITH THISFORM.TEXT5.VALUE

WAIT WINDOW “UPDATE RECORD”TIMEOUT 3

CLOSE                                                                 CLICK

THISFORM.RELEASE

15 Replies to “Microsoft Visual FoxPro 6.0 Form”

  1. Do you need clients?

    We compiled some of the world’s top databases for you at ridiculous low prices. $49 for any of our databases or $99 for all 16 databases!

    Visit BestLocalData.com

    Regards,
    Amber

  2. Thanks for your entire efforts on this website. My mum loves carrying out investigations and it’s really simple to grasp why. We notice all concerning the powerful manner you render effective guides on the website and as well attract participation from the others on that subject plus our favorite simple princess is without question learning a lot of things. Take advantage of the rest of the new year. You’re the one performing a glorious job.

  3. I would like to express thanks to this writer just for bailing me out of this particular challenge. Because of exploring through the world wide web and meeting notions which were not productive, I believed my life was well over. Existing devoid of the approaches to the problems you’ve fixed all through this article content is a serious case, and the kind that would have negatively damaged my career if I hadn’t come across your web site. The competence and kindness in handling all areas was vital. I don’t know what I would have done if I hadn’t come upon such a thing like this. I am able to at this moment relish my future. Thank you so much for your impressive and results-oriented help. I won’t hesitate to endorse the website to any individual who would like guidelines on this topic.

  4. I intended to create you this very small remark to finally give thanks over again with the remarkable tricks you have shared on this site. This has been really incredibly generous of people like you in giving unhampered all that a number of people could have made available as an e book to get some money on their own, principally given that you might have done it if you ever wanted. The techniques as well served to become easy way to be sure that other people have the identical keenness like mine to know the truth somewhat more when it comes to this condition. I believe there are numerous more pleasurable occasions in the future for those who look into your website.

  5. I and my pals were found to be reading the good tricks found on your website and then quickly I had a horrible suspicion I never thanked the web site owner for them. These women are actually totally joyful to read all of them and have absolutely been enjoying those things. Appreciate your really being indeed kind and also for settling on this form of fabulous subject matter millions of individuals are really wanting to be informed on. My very own sincere apologies for not expressing gratitude to earlier.

  6. I needed to create you that little bit of observation to be able to give thanks yet again considering the beautiful secrets you’ve featured on this site. It was certainly pretty generous of you to allow extensively what most people might have advertised for an e-book to make some bucks for themselves, even more so seeing that you could possibly have done it in case you considered necessary. The good tips likewise acted as a easy way to comprehend someone else have the same passion just like my personal own to figure out a good deal more when it comes to this condition. I know there are several more enjoyable periods up front for folks who read through your blog post.

  7. I am glad for commenting to let you know what a amazing discovery my princess had viewing your blog. She noticed several details, which included what it’s like to possess an awesome giving mood to have many people very easily have an understanding of chosen extremely tough things. You actually did more than readers’ expected results. I appreciate you for offering these valuable, dependable, explanatory not to mention cool thoughts on your topic to Lizeth.

  8. Needed to draft you one very small observation to be able to give many thanks yet again for all the nice information you have contributed in this article. It’s simply unbelievably generous with you giving extensively what exactly numerous people could have marketed for an e book to help make some cash for their own end, certainly considering the fact that you might well have tried it in the event you considered necessary. Those secrets likewise acted to be a easy way to comprehend most people have the identical dream similar to mine to see somewhat more related to this condition. I know there are numerous more fun periods in the future for folks who looked at your blog post.

  9. I simply wanted to post a simple remark to be able to express gratitude to you for all of the unique tips and hints you are placing here. My extended internet look up has at the end of the day been recognized with reasonable insight to exchange with my co-workers. I would repeat that most of us visitors are definitely endowed to dwell in a superb website with very many perfect professionals with very beneficial guidelines. I feel quite grateful to have discovered your webpages and look forward to so many more pleasurable times reading here. Thanks a lot once again for a lot of things.

  10. An interesting discussion is price comment. I believe that it’s best to write extra on this topic, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers

  11. Thank you so much for giving everyone an extremely nice chance to read articles and blog posts from this web site. It really is so cool plus packed with a great time for me personally and my office mates to visit your site at the least thrice a week to study the latest stuff you have got. Of course, I’m so usually pleased with your perfect advice you serve. Selected 4 areas in this posting are in truth the most suitable we’ve had.

Leave a Reply

Your email address will not be published. Required fields are marked *