Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy some records into textbox form table
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01296006
Message ID:
01296070
Views:
11
>yes you true, i require this, now in this send record from my cursor.
>how?

Do you mean you want to save and restore state (save data in some table and be able to restore it)? I'm afraid I don't have this implementation in that Download because it was part of a complex application with very complex mechanism of saving and restoring (invented by my colleague Mike Asherman).

For your purpose you can just do something like
local lnI
local array laPhones[1]
alines(laPhones,thisform.edtPhones.value)
for lnI = 1 to alen(laPhones,1)
   insert into myTable (cPhone) values (laPhones[m.lnI])
next
And similar code to restore the initial state of the editbox in form's Init. I hope you can figure this out yourself.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform