Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an integer field in SQL Select
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Creating an integer field in SQL Select
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01036396
Message ID:
01036396
Views:
51
I am creating a work cursor using SQL Select on .DBF Tables with readwrite. I would like to add an intiger field that will be used later to hold some stuff.

There are two ways that I know of:

1. Create a one record cursor with an intiger field before I call the SQL Sel and reference it like we always have to create memo fields.

2. Include "000000000 as myint" in the Select.

The problem, of course, is that #2 actually creates a numeric field.
I was wondering if there is any new way in VFP 8.0 or 9.0 that I haven't found???
TIA
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Next
Reply
Map
View

Click here to load this message in the networking platform