Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manipulating data with objects
Message
 
To
21/07/2000 10:09:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00395398
Message ID:
00395440
Views:
11
Jimmy,

Here's what is happening in your code;

Thisform.C1.Visible = .F.
Thisform.T1.Visible = .T.

* Ok now the right controls is visible

clear

* Don't know why you are clearing here.

ThisForm.Text1.value = ""

* You've just blanked out the controlsource for the current record

DBSETPROP('intrancust', 'view', 'Tables', 'Tomparco!inventory')
DBSETPROP('intrancust', 'view', 'SendUpdates',.T.)

* You shoudln't need these lines as you have already set the properties in the previous code

APPEND BLANK


Try doing things this way instead;
Thisform.C1.Visible = .F.
Thisform.T1.Visible = .T.
APPEND BLANK IN YourViewAlias
ThisForm.Text1.Refresh()
Also, use the complete set of arguments in TableUpdate(), not using them all can cause the tableupdate to occur in the wrong work area on you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform