Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL 'text' fields versus VFP 'memo' fields
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL 'text' fields versus VFP 'memo' fields
Miscellaneous
Thread ID:
00409845
Message ID:
00409845
Views:
60
I have upsized a VFP6 app (build w/ maxframe) to sql7. VFP memo fields have been defined as text fields by the upsize wizard in sql7. In sql, when i 'design table', the fields are text 16. When i generate sql script, the script shows them defined as text (w/ no length).

My remote view defs still have these fields defined as memos. When i add a new record via the app, the record is saved. What is strange is that after saving the record, i requery the remote view, restore the record pointer, and refresh the form. This works fine if i do not enter any text info into the memo fields. If i do, the requery apparently has problems because the form doesnt show the newly added record. If i close the form and refire it, i see the record. Again, if i leave the memo field empty, it works fine.

I changed the remote view def for these fields to char 250 and left them defined as text in sql (due to time constraints). This change has corrected the problem.

Can anyone shed some light on whats happening?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform