Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLCOLUMNS() vs AFIELD()
Message
From
19/03/2003 12:38:35
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00767555
Message ID:
00767653
Views:
11
>I don't see a reason to use SQLCOLUMNS() if you want to get structure of VFP cursor even if it was created from Sql Server table.

The only reason would be to get the structure as is from the backend with the relevant details. For me, AFIELD() applied on the empty cursor, with the use of SQL passthrough, does the job.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform