Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add if statement
Message
From
05/11/2004 13:30:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Add if statement
Miscellaneous
Thread ID:
00958618
Message ID:
00958618
Views:
52
hi all,

i need to insert two things at mycode under.
1. if not found()
=messagebox("not found")
else
....
endif
2. if i want to sum columns at the same code as
sum t1 to thisform.pageframe1.page2.tex1.value

any idea ,help
with thisform.pageframe1.page2.Grid1
    .RecordsourceType = 4 && SQL
    .Columncount = -1
      .Recordsource = 'select * from mstr'+ ;
      '   where UPPER(inname) = UPPER(TRIM(thisform.pageframe1.page1.text1.Value)) ' + ;
         'and nam1 = thisform.pageframe1.page1.text4.Value'+ ;
'   into cursor crsMyCursor'
    
ENDWITH

thisform.pageframe1.page2.Grid1.refresh
thanks
m.qasem
Next
Reply
Map
View

Click here to load this message in the networking platform