Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Visual Foxpro data type in VB

Status
Not open for further replies.

Terabithia

Programmer
Aug 31, 2004
70
US
I have a need to change the data type on specific fields when i open a Visual Foxpro DB in Visual Basic. I am using the following as a test select string:

select distinct cast(numeric_field as Char(30)),another_field from database_table

This errors out as unrecognized Visual Foxpro, where am I going wrong please?
 
I'm not sure that is recognized by VFP but to be sure, goto the VFP forum and ask. I'm sure the people over there will be able to help...



Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top