Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to put Sequence number in „Data grouping” line?

Status
Not open for further replies.

Delfin4ik

Programmer
Apr 16, 2007
1
LV
Hello,
Maybe stupid question, but I did not find solution for that.
Just wondering is it possible somehow to put sequence number (1,2,3,4..etc) in report in „Data grouping” line. I‘m using FoxPro 2.6 version.


Thank’s for assistance in adavnce,
 
You would have to write a small function to Incriment a public memver

In the report form Data band add.
lnDataGroup=DATAGROUP()

Example
code....
PUBLIC rnDataGroup
rnDataGroup=0
report form .....
release rnDataGroup
code ....

Function DATAGROUP
rnDataGroup=rnDataGroup+1
return rnDataGroup


David W. Grewe (Dave)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top