Home » » Perintah² Dasar Visual FoxPro

Perintah² Dasar Visual FoxPro

Unknown | Tuesday, February 22, 2011 | 54comments
5 Perintah² dasar Visual Foxpro :

1.  USE C:\nama_folder\nama_file.dbf
USE digunakan untuk membuka file tabel (.DBF). Walaupun sebenarnya untuk membuka tabel bisa menggunakan menu Open, tetapi dengan membiasakan menggunakan perintah USE maka akan membantu untuk mempercepat pekerjaan. Di FoxPro, setiap perintah yang pernah di ketik bisa di ulang tanpa mengetik ulang seluruh perintah, mungkin cukup mengganti nama file atau direktori saja. Sehingga dengan kemudahan ini, nantinya akan lebih mudah membuat program kecil (.PRG) seperti Makro Excel dengan membuka banyak banyak data sekaligus sesuai urutan dalam algoritma pengolahan.

2.  BROWSE
Setelah membuka file tabel, dilayar FoxPro tidak langsung terbuka tabel yang kita buka seperti layaknya kita buka file MS Excel, SPSS atau Minitab. Untuk melihat tabel, harus ketik perintah BROWSE atau cukup dengan BROW. Hati-hati dengan tabel yang baru saja muncul dengan perintah BROW ini, karena jika tidak sengaja merubah salah satu sel maka FoxPro akan menyimpan file tersebut tanpa ada peringatan sama sekali, inilah salah satu “Warning” yang perlu diingat. Tetapi jika di ketik perintah BROW NOEDIT maka tabel yang terbuka akan aman dari entry yang tidak diinginkan.

3.  LOCATE FOR
Perintah ini juga bisa diketik singkat menajdi LOCA FOR, perintah ini untuk melihat baris data sesuai dengan kriteria dibuat. Misalnya ada kolom/field “umur”, kita ingin mencari umur diatas 90 tahun, maka perintahnya seperti ini :
LOCA FOR umur>=90
4.  COPY TO
Perintah ini berguna untuk menyimpan tabel atau query ke format tabel DBF, XLS, SDF atau format data lainnya. Secara default perintah ini menyimpan ke format DBF, misal perintah COPY TO c:\arsip\tabel.dbf artinya file tabel yang terbuka saat itu (perintah USE), disimpan kembali dengan nama file “tabel.dbf” dalam folder “arsip” di drive “C:”.
Untuk mencopy ke format XLS maka perintahnya :
COPY TO c:\arsip\tabel  XLS
File yang sedang active disimpan dengan nama tabel.xls, perhatikan bahwa perintah diatas tidak menggunakan tanda titik (coba.XLS)

5.  CLOSE
Perintah ini adalah kebalikan file USE, yaitu menutup Tabel yang dibuka. Tetapi perintah ini juga berlaku untuk file bukan hanya tabel yang terbuka, misalnya program (.PRG).
Contoh perintahnya sebagai berikut :
CLOSE ALL    » berarti menutup semua file yang aktif (DBF dan PRG).
CLOSE DATA » berarti hanya menutup file tabel active, sedangkan file lain (misalnya PRG) masih terbuka.

Share This Article :
Comments
54 Comments

54 comments:

  1. Hello there, I discovered your blog by the use of Google at the
    same time as looking for a comparable topic, your website came up,
    it seems great. I have bookmarked it in my google bookmarks.


    Hi there, simply turned into alert to your blog through Google, and located that it is really informative.
    I am gonna be careful for brussels. I will appreciate in the event you proceed this in future.
    Many other folks shall be benefited from your writing.
    Cheers!

    Here is my web site - Bob Marley Posters

    ReplyDelete
  2. My brother recommended I would possibly like
    this website. He used to be totally right. This publish truly made my day.
    You cann't imagine simply how so much time I had spent for this information! Thanks!

    Feel free to surf to my site; badminton stringing machine

    ReplyDelete
  3. My partner and I absolutely love your blog and find almost all of your post's to be just what I'm looking for.
    Would you offer guest writers to write content for you?
    I wouldn't mind creating a post or elaborating on a few of the subjects you write related to here. Again, awesome web site!

    Feel free to surf to my blog :: touch screen mp3

    ReplyDelete
  4. Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point. You definitely know what youre talking
    about, why waste your intelligence on just posting videos to your site when you could be
    giving us something informative to read?

    Check out my homepage :: surge protector

    ReplyDelete
  5. Good day! I know this is kinda off topic but I'd figured I'd ask.
    Would you be interested in trading links or maybe guest authoring a blog post or vice-versa?
    My site covers a lot of the same subjects as yours and I believe we could greatly benefit from each other.

    If you might be interested feel free to send me an
    e-mail. I look forward to hearing from you! Fantastic blog by the way!


    Feel free to surf to my web site :: house surge protector - -

    ReplyDelete
  6. Ahaa, its good conversation regarding this article here at
    this web site, I have read all that, so at this
    time me also commenting at this place.

    Check out my webpage ... smartphone security

    ReplyDelete
  7. Excellent site you have here but I was curious if you knew of any forums
    that cover the same topics talked about in this article?
    I'd really love to be a part of community where I can get opinions from other experienced people that share the same interest. If you have any suggestions, please let me know. Thanks a lot!

    My weblog ... smart phone security issues

    ReplyDelete
  8. Please let me know if you're looking for a article author for your site. You have some really great articles and I believe I would be a good asset. If you ever want to take some of the load off, I'd
    absolutely love to write some material for your blog in exchange for a link back
    to mine. Please blast me an email if interested. Thanks!


    Have a look at my site: touch screen mp3 ()

    ReplyDelete
  9. Hey! Would you mind if I share your blog with my twitter group?
    There's a lot of people that I think would really enjoy your content. Please let me know. Cheers

    Review my web site: badminton stringing machines :: http://mywebmatch.com/ ::

    ReplyDelete
  10. Link exchange is nothing else but it is just placing the other person's weblog link on your page at proper place and other person will also do similar in support of you.

    my blog post: friend bracelets

    ReplyDelete
  11. At this moment I am ready to do my breakfast,
    once having my breakfast coming over again to read additional news.


    My web page :: cheap tv stands ()

    ReplyDelete
  12. Ahaa, its pleasant conversation concerning this piece
    of writing here at this website, I have read
    all that, so now me also commenting at this place.

    My web page :: dj head phones (http://socialtime.uv.ro/index.php?do=/profile-38129/info)

    ReplyDelete
  13. Post writing is also a fun, if you know afterward you can write or else it is difficult
    to write.

    Take a look at my webpage - web hosting companies [http://www.stevehabel.com/studioinformation.htm]

    ReplyDelete
  14. Hello there, just became alert to your blog through Google, and found that it's truly informative. I'm gonna watch out
    for brussels. I'll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

    Also visit my weblog High Density Foam ()

    ReplyDelete
  15. Hi there, of course this post is genuinely pleasant and I have learned lot of things from it about
    blogging. thanks.

    My web blog; bob marley poster

    ReplyDelete
  16. We absolutely love your blog and find the majority of your post's to be what precisely I'm looking for.

    Do you offer guest writers to write content for you?
    I wouldn't mind publishing a post or elaborating on a number of the subjects you write related to here. Again, awesome website!

    my web-site: friend bracelets - -

    ReplyDelete
  17. There is definately a great deal to find out about this issue.

    I really like all of the points you have made.

    My web site house surge protector

    ReplyDelete
  18. Have you ever considered about including a little bit more than just your articles?
    I mean, what you say is fundamental and all.
    But just imagine if you added some great photos or videos to give your
    posts more, "pop"! Your content is excellent but with
    images and clips, this site could certainly be one
    of the best in its field. Excellent blog!

    Also visit my weblog: smart phone security - http://socialcirclessite.com/ -

    ReplyDelete
  19. Hurrah, that's what I was searching for, what a stuff! existing here at this webpage, thanks admin of this site.

    my homepage ... Badminton stringing machines

    ReplyDelete
  20. I'll right away snatch your rss as I can't to find your email subscription link or e-newsletter service.
    Do you've any? Kindly allow me recognize so that I may subscribe. Thanks.

    Feel free to surf to my blog; surge protector **

    ReplyDelete
  21. I'll immediately snatch your rss as I can't to find
    your email subscription link or e-newsletter service.
    Do you've any? Please allow me recognize so that I may subscribe. Thanks.

    Visit my blog ... marley posters

    ReplyDelete
  22. Hey are using Wordpress for your blog platform?
    I'm new to the blog world but I'm trying to get started
    and set up my own. Do you need any coding knowledge to make your own blog?

    Any help would be really appreciated!

    Also visit my homepage Bandage Dresses *bandagedressess.Webs.com*

    ReplyDelete
  23. Hi there! I'm at work surfing around your blog from my new iphone 3gs! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the excellent work!

    Also visit my blog post: Cheap Television Stands (Tviou.Com)

    ReplyDelete
  24. Great blog here! Also your site loads up very fast!
    What web host are you the usage of? Can I am getting your affiliate hyperlink in your host?

    I want my website loaded up as quickly as yours lol

    Also visit my blog headphones

    ReplyDelete
  25. Wonderful goods from you, man. I have understand your stuff
    previous to and you are just too wonderful. I actually like what you've acquired here, really like what you are stating and the way in which you say it. You make it entertaining and you still care for to keep it wise. I can not wait to read much more from you. This is really a wonderful web site.

    my webpage :: touchscreen *http://seapp.ihandssocial.com/*

    ReplyDelete
  26. Asking questions are truly fastidious thing if you are not
    understanding anything totally, but this paragraph gives nice understanding even.


    My web page :: tennis stringing machine

    ReplyDelete
  27. Hello there! I know this is kinda off topic but I was wondering if you
    knew where I could get a captcha plugin for my comment form?

    I'm using the same blog platform as yours and I'm having difficulty finding one?
    Thanks a lot!

    Look at my weblog: headphones

    ReplyDelete
  28. We are a group of volunteers and opening a new scheme in our community.
    Your web site offered us with valuable info to work on.
    You've done an impressive job and our whole community will be thankful to you.

    Check out my blog ... rc helicopters for sale ()

    ReplyDelete
  29. Hello to every one, the contents existing at this website
    are truly amazing for people knowledge, well, keep up
    the good work fellows.

    Also visit my homepage dj system :: http://djsystems.webs.com ::

    ReplyDelete
  30. Hello! Quick question that's completely off topic. Do you know how to make your site mobile friendly? My site looks weird when viewing from my iphone. I'm trying to find a template or plugin that might be
    able to resolve this issue. If you have any suggestions, please share.
    Cheers!

    Visit my web-site - Dj Systems (Examinerobits.Com)

    ReplyDelete
  31. First of all I would like to say awesome blog! I had a quick question in which I'd like to ask if you don't
    mind. I was interested to find out how you center yourself
    and clear your mind prior to writing. I've had a hard time clearing my mind in getting my ideas out. I do enjoy writing however it just seems like the first 10 to 15 minutes are lost just trying to figure out how to begin. Any recommendations or tips? Cheers!

    my site - xara web designer ()

    ReplyDelete
  32. We stumbled over here different web page and thought I might as well
    check things out. I like what I see so i am just following
    you. Look forward to checking out your web page for a second
    time.

    Feel free to surf to my weblog - surge protector - -

    ReplyDelete
  33. I'm really inspired together with your writing abilities as smartly as with the structure in your weblog. Is that this a paid theme or did you customize it yourself? Anyway keep up the nice high quality writing, it is rare to look a great blog like this one nowadays..

    My web page; Badminton Stringing machine

    ReplyDelete
  34. continuously i used to read smaller content which also clear their motive, and that is
    also happening with this paragraph which I am reading now.


    my blog post: smartphone security issues ()

    ReplyDelete
  35. continuously i used to read smaller content which also clear their motive, and that is also happening with this paragraph which I am reading now.



    Look at my blog post - smartphone security issues ()

    ReplyDelete
  36. Write more, thats all I have to say. Literally, it seems as though you relied on the video to
    make your point. You clearly know what youre talking
    about, why throw away your intelligence on just posting
    videos to your site when you could be giving us something informative to read?


    my site bob marley poster

    ReplyDelete
  37. I am really grateful to the owner of this website who has shared this great
    piece of writing at here.

    Look into my blog post - tennis stringing machines

    ReplyDelete
  38. Hi there I am so thrilled I found your blog, I really found you by error,
    while I was looking on Google for something else, Anyhow I am here now and would just like to say
    many thanks for a incredible post and a all round entertaining blog (I also love
    the theme/design), I don't have time to look over it all at the minute but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the awesome work.

    Also visit my website - Waterproof Headphones *http://waterproofheadphones.webs.com*

    ReplyDelete
  39. I have learn a few just right stuff here. Certainly
    worth bookmarking for revisiting. I surprise how a lot effort
    you set to create this sort of excellent informative web site.


    Look at my blog ... house surge Protector :: www.auschat.com.au ::

    ReplyDelete
  40. Very nice post. I just stumbled upon your weblog and wanted to say that I've truly enjoyed browsing your blog posts. In any case I will be subscribing to your feed and I hope you write again very soon!

    Have a look at my blog post ... Marley Posters

    ReplyDelete
  41. I am really delighted to glance at this web site posts which contains
    plenty of useful data, thanks for providing these kinds of data.


    Here is my website :: cheap tv stands ()

    ReplyDelete
  42. Hi there very nice blog!! Man .. Excellent .. Superb .. I'll bookmark your blog and take the feeds additionally? I'm happy to find numerous useful information here within the post, we need develop more techniques on this regard, thank you for sharing.
    . . . . .

    My page; mp3

    ReplyDelete
  43. I was able to find good advice from your content.


    my website :: Best dj headphones

    ReplyDelete
  44. I loved as much as you'll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this hike.

    Also visit my web page :: surge protector (sarallabel.com)

    ReplyDelete
  45. Ahaa, its pleasant conversation about this post at this place
    at this website, I have read all that, so at
    this time me also commenting here.

    my page - dj headphones :: ::

    ReplyDelete
  46. May I simply just say what a relief to discover somebody who truly understands what they are talking about on the net.
    You definitely understand how to bring a problem to light
    and make it important. More and more people must look at this
    and understand this side of the story. I was surprised that you aren't more popular given that you surely have the gift.

    Feel free to visit my website ... bob marley posters

    ReplyDelete
  47. Greetings! Very useful advice in this particular post!
    It's the little changes that make the most important changes. Many thanks for sharing!

    Here is my site :: bob marley posters ()

    ReplyDelete
  48. What's up, I check your blog like every week. Your writing style is awesome, keep it up!

    Here is my site; smartphone security

    ReplyDelete
  49. Spot on with this write-up, I truly believe that this amazing site needs a lot more attention.
    I'll probably be back again to read through more, thanks for the advice!

    My blog post rc helicopter [http://clickforu.com/profile-253671/info]

    ReplyDelete
  50. Hey There. I found your blog using msn. This is
    a very well written article. I'll be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will certainly return.

    Feel free to visit my blog; little girls Dresses

    ReplyDelete
  51. Hello to all, how is the whole thing, I think every one is getting more
    from this site, and your views are good designed for new people.



    Also visit my site :: bob marley posters (spec.uz)

    ReplyDelete
  52. Hmm is anyone else encountering problems with the pictures on this blog loading?
    I'm trying to figure out if its a problem on my end or if it's the blog.
    Any feedback would be greatly appreciated.

    Check out my site: best cruise lines

    ReplyDelete
  53. Remarkable! Its truly awesome article, I have got much clear idea about from this article.


    Feel free to surf to my website best dj head phones [Socialbook.fr]

    ReplyDelete
  54. Oh my goodness! Impressive article dude! Many thanks, However
    I am encountering issues with your RSS. I don't know why I cannot join it. Is there anyone else getting identical RSS problems? Anybody who knows the solution can you kindly respond? Thanks!!

    My page - systems

    ReplyDelete

 
Support : Sqoatydhent™
Copyright © Sqo Sqoaty Dhent - All Rights Reserved
Template Modify By : Sqoatydhent™
Powered By : Blogger