Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum
Message
From
07/03/2006 06:24:14
 
 
To
07/03/2006 06:14:36
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Sum
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101943
Message ID:
01102000
Views:
8
hi,
thank you, error message
"ControlSource" is not a file variable
>Hi Mohammed,
>
>Try it:
>
>thisform.Grid1.Column4.ControlSource = "csrMyCursor.sticket - csrMyCursor.eticket"
>
>Good Luck!
>
>
>
>>hi all,
>>any idea,help
>>i need to SUBTRACT 2 fields at my grid,created via cursor as
>>at .Column3.ControlSource = "csrMyCursor.eticket"
>>valid event
>>.Column4.noofticket=.Column2.Sticket-.Column3.Eticket
>>but i see only grid1 how i can determine the columns at my grid to make the operation.
>
>>Select bookno,sticket,eticket,noofticket,boxno from trans1 into cursor csrmyCursor readwrite where .F.
>>SELECT csrMyCursor
>>With thisform.Grid1
>>  .RecordSource = "csrMyCursor"
>>  .Column1.ControlSource = "csrMyCursor.bookno"
>>  .Column2.ControlSource = "csrMyCursor.sticket"
>>  .Column3.ControlSource = "csrMyCursor.eticket"
>>  .Column4.ControlSource = "csrMyCursor.noofticket"
>>  .Column5.ControlSource = "csrMyCursor.boxno"
>>
>>    append blank
>>  .Refresh()
>>ENDWITH
>
>
Previous
Reply
Map
View

Click here to load this message in the networking platform