Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help ..Grid/Browse problems
Message
From
04/09/1998 02:51:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00131458
Message ID:
00133128
Views:
13
Jayesh - Hi,
Here's what I do.. Please tell me what I should

(Form1)
User enters a doc.Number
Create a tmp table with relevant records from the database
The tmp table's alias is
Call the following method.
When User clicks OK save the data into the database
Loop back above
End Form1


PROCEDURE (Form1).grdinit
WITH THISFORM
WITH .grid1
.ReadOnly = .F.
.RecordSource = ''
SELE (DAlias)
.ColumnCount=0 && reset
.RecordSourceType = 1 && Alias
.ColumnCount=8
FOR ip = 1 TO 8
ColumnN.Name = XXXX
WITH .XXXX
.ControlSource = (FieldNm)
.Width = YYY
.Text1.Value = VVV
.Text1.Format = FFF
.Header1.Caption = CCC
.ColumnOrder = ip
ENDWITH
NEXT
.RecordSource = spDAlias
ENDWITH
ENDWITH
ENDPROC


Thanks in advance
Bye
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform