Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a variable as a SQL column
Message
From
15/08/2008 19:28:15
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Selecting a variable as a SQL column
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01339252
Message ID:
01339252
Views:
59
UPDATE: Nevermind. Error was with the developer.

I get an error if I add the cPatientNumber line that PatientNumber cannot be found. I thought this was allowed. There will only be one record ever in the result and I want the specific value of cPatientNumber in that column.
SELECT ;
	cPatientNumber AS PatientNumber, ;
	ALLTRIM(pt.ptLName) AS PatientLastName, ;
.
.
.
Next
Reply
Map
View

Click here to load this message in the networking platform