Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace chr(13) + chr(10)
Message
From
31/03/2019 10:20:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01667754
Message ID:
01667780
Views:
43
>How do you use parameters when inserting into a VFP table?
>
>>Use parameters.
insert into myTable (myField1, myField2) values (?m.parm1, ?m.parm2)
With OLEDB it is simply adding OleDb parameters.

PS: Think of memo fields, they can have zillion of chr(13)+chr(10) in it. In fact, in VFP a character field can have any character including chr(0) in it.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform