Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DATAENVIRONMENT~
Message
 
To
27/12/1999 10:49:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00308730
Message ID:
00308879
Views:
30
Wai Wai,

Ok a small simplification and the new line at the end;
WITH THISFORM.DATAENVIRONMENT
	.ADDOBJECT('CURSOR1','Cursor')
	.CURSOR1.CURSORSOURCE = CDX_DBF + 'SODETAIL'
	.CURSOR1.ALIAS = 'CURSOR1'
		
	.ADDOBJECT('CURSOR2','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'SOHEAD'
	.CURSOR2.ALIAS = 'CURSOR2'

	.ADDOBJECT('CURSOR3','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'ITEMMSTR'
	.CURSOR2.ALIAS = 'ITEMMSTR'

	.ADDOBJECT('CURSOR4','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'CUSTOMER'
	.CURSOR2.ALIAS = 'CUSTOMER'

        * The following line can be in this WITH/ENDWITH
        .OPENTABLES()
ENDWITH

With Thisform.DET_GRD
  .recordsourcetype = 0  && 1 Alias
  .recordsource = 'CURSOR1'
  <strong>.Refresh()</strong>
EndWith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform