Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View data from two tables
Message
From
06/03/2006 13:36:46
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101502
Message ID:
01101778
Views:
17
Thanks for your guidance. But My problem is quite different:

In a form I shall enter a name. If the entered name is exists in the student table,
records from two tables will be obtained corresting to the entered name.
I have used this code but it was not giving the desired result.
use student
locate for name=lcName
if found()
select pupil.*,name from pupil,student where pupil.roll = student.roll and pupil.name=lcName into cursor myresult
else
wait window
endif

In this case How I shall proceed ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform