Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting records into access MDB from VFP 6
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00868207
Message ID:
00868255
Views:
15
I believe, it is because of the updateable view you are using. Even you trim VFP data, it is stored in the view.field and accept the length of the view.field.
Perhaps you should use sqlexec(..., "INSERT INTO....) instead of the view here.


>As a result of an interface I am writing I have the need to insert records into an Access database from a foxpro application.
>
>I created a database container, a connection to the Access MDB using the ODBC access driver and a remote view connecting to one of the tables within the Access Database.
>
>everything works perfect except when I insert records into the Access MDB, the data within the fields has trailing spaces. I am trimming all data on the foxpro side but the fields on the Access MDB come up with trailing spaces, I don't know if is something the Access ODBC driver inserts or if there is a way for me to control that.
>
>If anybody has seen this before please let me know...
>
>thanks !
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform