Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter Memvar Blank equivalent command
Message
 
 
To
05/03/1999 23:35:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00194779
Message ID:
00194787
Views:
19
Mesa,

If you are using table buffering and bind your controls directly to the table you can simply APPEND BLANK and thisform.Refresh() to get blank fields. You can use TableUpdate() and TableRevert() to save/cancel the changes.

>Is there anybody know other command or way that perform similar to SCATTER MEMVAR BLANK like Foxpro 2.x
>
>I've just designed a form that will show empty value for some of fields but that's not linked directly to the table so I just put
>in the init form event
>
>Myform.texboxt1 ="" &&for character/string field
>Myform.texboxt2= 0 &&for numeric field
>Myform.texboxt3={} &&for date field data type
>
>**and so on
>
>then if doing seeking and found
>I just put field table value to the control object value
>if adding then i use INSERT INTO - SQL COMMAND
>
>Is there easier way ,...?
>Any idea,..?
>
>Thanks,...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform