General information
Category:
Coding, syntax & commands
Title:
FCOUNT() Error relative to CursorAdapter fields - How to fix
Environment versions
Network:
Windows 2003 Server
Using a couple of cursoradapters each populated with different data sets gathered from an MS SQL 2K backend to show data in grids place into 2 different pages in a pageframe on a form.
Using the PicBtns1 class from wizbtns to provide navigation and search features in each case: I.E. Each grid page has its own PicBtns button set on it ~ in other words, not using 1 common button set but 1 set per page.
The search feature standard class includes FCOUNT() to establish the number of fields in the underlying data source which is either one of the cursoradapters depending upon which page has focus. The correct cursoradapter has focus relative to each page.
PROBLEM: FCOUNT() reports 1 (one) more field in the cursoradapter than the actual number of fields in each case!!!
Why?
What to do about it?
It's a puzzelment. Need help figuiring this out. TIA. /psb
ps. This is actually running in VFP9 SP2 - not SP1 but the SP2 option is not yet available in the version drop-down.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only