AllExperts > FoxPro 
Search      
FoxPro
Volunteer
Answers to thousands of questions
 Home · More FoxPro Questions · Answer Library  · Encyclopedia ·
More FoxPro Answers
Question Library

Ask a question about FoxPro
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Markish
Expertise
I can answer general questions related to Foxpro from Version 2.0 to 9.0. I'll try to answer them as quickly as possible.

Experience
I've been into Dbase programming from age of 11. I've worked in versions from FoxPro 2.0 and Foxbase.
Education/Credentials
I've done my B.Tech (IT) with distinction from Anna University, Chennai - India.

 
   

You are here:  Experts > Computing/Technology > Databases > FoxPro > 2 Tables on a form

FoxPro - 2 Tables on a form


Expert: Markish - 8/18/2008

Question
I want to run 2 tables in one form, could you please guide me the coding.

Answer
Hi Candy,
   Sorry for the delay. I'm not sure what you mean by run 2 tables in one form. If you want to display the contents of two tables in a form, you can just open the two tables like

in form's load event

sele 2
use tableB
sele 1
use tableA

then you can place 2 grids in the form and set their 'recordsourcetype' property to 1-Alias and set the recordsource to the respective alias names.


Hope this helps..
Best regards,
Markish

http://www.markishonline.com


Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.