Get.Reccount and MFS (AREV Specific)
At 19 NOV 1999 05:22:12PM Paul Simonsen wrote:
Hello all,
I have recently implemented an MFS in an Arev application. For the past month it has worked flawless (or so I thought). I was testing a report and noticed that the total records variable (assigned by Get.Reccount) was 0.
After doing some tests, I noticed that when the MFS was turned on, Get.Reccount would only return a zero. When the MFS was disabled it worked fine.
I have looked through documentation provided by Revelation and Sprez. in order to verify the code and verify what the content of the variables should be while inside the MFS before being passed on to RTP57. I haven't had any luck so far finding what the problem is.
Has anyone else experienced this?
I am running Arev3.12 with a Win98 workstation. (Extended Memory is disabled)
Thanks,
Paul Simonsen
psimonsen@srpcs.com
At 22 NOV 1999 01:08PM Don Miller - C3 Inc. wrote:
Paul..
Methinks your MFS is not passing the request properly to the BFS. GET.RECCOUNT(v1,v2,v3) looks in the file-handle of v1 to get the Base Filing System. Next it looks at (and can set) v2 which is a logical variable flag indicating that the file is an AREV Version 1.x file. Finally, v3 will force a select to get the data if set to true)
Operationally, GET.RECCOUNT calls the Filing System (v1) with the opcode 28 to get the record count stored in the file header. Sooooo, that's where I'd look if I were you.
HTH
Don Miller
C3 Inc.