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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MEMO FIELD NULL INSTEAD OF EMPTY STRING

Status
Not open for further replies.

vie3548

Programmer
Jul 12, 2021
28
AE
hi guys,

im using SPT updatable cursor to update mysql database backend.
updating is working fine. but i have issue with memo fields.
in mysql, i have field: narration varchar(500).
using SQLEXEC(), this field converts to memo field in vfp cursor as it's more than 254 chars.
to update backend i have this command : *fheader is linked to table in server via SPT
sele fheader
append blank
gather name (oObj) memo

if the field is empty its becomes NULL in backend.
how to make it as empty string if blank instead of NULL
hope i have explain it clearly.
anyone could help. greatly appreciated!

Vie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top