Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp - adding a record...
Message
From
18/02/1997 10:05:16
 
 
To
18/02/1997 09:08:05
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00020602
Message ID:
00020880
Views:
62
>>Could you give me the first line of code?
>>step 1 - you have to set the object's value to a blank
>
>thisform.textbox1.value=""
>
>>setp 2 - when your finished and if the user wants to save his changes,
>> you need to insert a new.
>
>insert into your_table (field1) values(thisform.textbox1.value)
>
>>When I have set the objects value to " ", it places a blank in that field
>>and in that record the record pointer is on.
>>I have gone through the controls changing value, but it changes the values to the fields in the current record.
>>
>>thanks - Rob
>
>It's because your textbox is bound to a field. Set ControlSource property to "", and when user will enter data, just Value property will be changed

hi ed...
is that...
thisform.fieldname.controlsource=" "

rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform