Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL help
Message
From
01/05/2001 15:45:14
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00502017
Message ID:
00502205
Views:
20
I'll give you a credit for it, even I had little hard time finding out why I kept getting errors, but it was the missing "ID" in the lnPersonID :)
>>CASE m.pick='Name'
>>*	=SEEK(ThisForm.List1.List(ThisForm.List1.ListIndex),"person","main")
>       local lnPersonID
>        lnPerson=int(val(ThisForm.List1.List(ThisForm.List1.ListIndex)))
>        lnName=ThisForm.List1.List(ThisForm.List1.ListIndex,2)
>>	SELECT lnName as PName, auth.organization, auth.authtype, auth.effective, auth.end ;
>>		FROM auth ;
>>		WHERE auth.id=lnPersonID ;
>>		INTO CURSOR curTemp
>>browse
The question still remains how to do this SQL "straight forward" (instead of using the lnName). I did another SQL also with two tables and works. There may come a time where I may need data from three tables where the "lnName" may not be possible.

Chuck
Today is tomorrow's yesterday.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform