Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get all employee
Message
From
10/02/2005 07:13:08
 
 
To
09/02/2005 13:20:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985090
Message ID:
00985489
Views:
20
hi,
i try via your code ,if i insert employee no and insert 1 into text2 and 15 into text3 it works,
but i need to print all emplyee every employee at one paper,as if the printer print employee no.1 skip to print no.2... to end of file where no=m.no

this code under get space.what is rong.
CLOSE ALL
USE MSTR IN 0
SELECT MSTR
   M.DAT=DAT&&somthing i need it
   m.no=NO
   m.nMin=1
   m.nMax=15
 DO WHILE no=M.NO
  Select *from tax1 where no=m.no and montno between m.nMin and m.nMax       
   into cursor employees
   report form coptax111 preview
skip

ENDDO
thanks

>>i don't want to insert any thing at any textbox at my form ,just i want to press at command1 to run mycode
>
>That is fine and it is what your code and mine do. You press command1 to run the code. It reads whatever the user entered in textboxes in your form. That is what I was referring to.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform