Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing in form datas from a table Visual Fox Pro 5.0

Status
Not open for further replies.

HellCritical

Programmer
May 20, 2013
3
RO
Hello. I just started to use Visual Fox Pro and I need to list in a form what is in abc.dbf. abc.dbf have 3 fields (name,price and stoc). I want to list what has been added there. How do I do that in a form?
 
Welcome to both Visual Foxpro and this forum area.

You will want to place a Grid (it looks sort of like Excel) onto your VFP Form to display multiple Fields & Records from a Data Source.

You might want to spend some time looking through the various Free, on-line VFP tutorial videos at:
Good Luck,
JRB-Bldr
 
I forgot to add that during your learning process, if you want to better understand how things work and have them work the way YOU want them to - I'd advise staying away from using the various VFP Wizards.

Instead come to this forum for answers as you encounter challenges.

Good Luck,
JRB-Bldr
 
I would use the builder for the grid though!

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
I would also like to welcome you to the forum.

Your question is very general. It's difficult for us to give useful answers to such questions without knowing a lot more about your application and what you are trying to achieve.

Like JRB-Bldr, I suggest you try to acquire a basic knowledge of Visual FoxPro before you go much further. For now, focus on forms and controls. There's plenty of material available on line to get you started. (Personally, I don't agree that watching videos is a productive way to learn a language, but that's just my opinion. You might feel otherwise.)

When you're up to speed on the basics, you'll be in a better position to ask for help. When you do, try to give us as much detail as possible. We'll do our best to help.

Good luck.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
I uploaded my project: click for download

I need in the afisari.scx to show me the records and fields from farmacie.dbf ... Show me how to do it and upload it back please!
 
Show me how to do it and upload it back please!

Sorry, but you're asking too much. I'm certainly not willing to download software (especially from someone I don't know - and I don't mean to disparage you in any way when I say that) - and I doubt if the others here will either. In any case, it's not the purpose of this forum to do your work for you. We'll give you whatever help and advice you need, but after that it's up to you.

Ask a specific question, and give us the information we need to answer it. That's the best way you can get help from this forum.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Perhaps you don't quite understand what we do here.

We do not DO IT for people - that's what Paid Consultants/Contractors are for.
Instead we advise/assist/help people with their challenges so that THEY will be able to DO IT this time and the next time.

Good Luck,
JRB-Bldr
 
This is such a basic requirement it almost sounds like a homework problem.

We don't do your homework for you.
 
I know I'm not any kind of moderator, but this thread is beginning to sound a bit on the stern (possibly rude) side.

If you can't be helpful to a new user, please at least keep it civil.

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
Griff - I agree that we want to be welcoming and helpful to new users.

But we also expect them to do a good bit of the work (most of it) themselves with us assisting/advising them when/where necessary.

That's the only way that they will be able to use the 'learning opportunity' to expand their own knowledge base and be able to handle similar issues in the future themselves.

And, as you know, broad general questions like this are almost impossible to answer definitively since they encompass SO MANY issues and parameters.

With a little up-front study on their part which would lead to one or more specific question(s), we can most gladly assist them.

HellCritical - Good Luck,
JRB-Bldr
 
Quite right on all counts and nicely put too.

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
It's not a homework... I am trying to learn Visual Fox Pro but I can't list how you told me... I don't know how to do it.
 
You've been given the solution to add a grid to your form and you then can use the grid builder to set it to display your table. You've also been pointed to learning videos.
If you can't follow this instructions, then perhaps you need a personal lesson and a forum won't help you very much.

To state it clear: This doesn't need any code, this just needs a control you put on your form, and it's configuration of recordsource and recordsourcetype, so don't expect any code here for this need.
Hopefully you already know the project manager and can open a form for designing it, then hopefully you know how to add a control to a form in the form designer. If you don't know these basics, then you first neeed several lessons about the VFP IDE, it's menu and it's designers and the videos you've been pointed to are a good start.

Bye, Olaf.
 
but I can't list how you told me
I'm not clear on what it is that you cannot do.

In lieu of your getting personalized one-on-one VFP training from someone, have you spent ANY time, like I suggested above, looking at the free, on-line VFP tutorial videos at:

If you had done so, you might have noticed
Building a Simple Application - Pt. 1
Building a Simple Application - Pt. 2
Building a Simple Application - Pt. 3
Building a Simple Application - Pt. 4
Building a Simple Application - Pt. 5
Building a Simple Application - Pt. 6


Where:
Part 3 in the series. In this video we start to work on the customer list form. Highlights of this video includes the use of macro substitution, working with the grid control, creating shortcut menus and adding an ActiveX control to the form.

And:
Part 5 in the series. In this video we continue to develop the screens (forms) for our Issue Tracking application. Hightlights of this video are creating temporary relationships between two tables in the data environment, using expressions in grids for display formatting and binding a combo box to a lookup table.

Other than our doing YOUR Work for you, what more do you want?

If you at least try these suggestions and THEN have some more detailed questions for us, we can better assist you.

Good Luck,
JRB-Bldr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top