Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 2072 any reliable workaround?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Error 2072 any reliable workaround?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01537076
Message ID:
01537076
Views:
104
Hi everybody,

I am now consistently getting error 1272. It was intermittent before, but now I'm getting it immediatelly after I open the Seat Blocks page and press Add New block button. The error message is attached along with the form.

As an attempt to workaround the problem I added GO TOP in the code that opens this page and also added code to more record pointer in the Add New Block button. It didn't help and may be even made the matters worse.

I've attempted to read old messages on this topic - I don't see a clear workaround.

What should I do to avoid it?

This is my code in that button
SELECT rsTSBlocks
IF BETWEEN(RECNO('rsTSBlocks'),1,RECCOUNT('rsTSBlocks'))
   GOTO RECNO('rsTSBlocks') && attempt to fix error 1272
ENDIF   
APPEND BLANK 
replace TemplateID WITH thisform.oCurrentNode.Values('TemplateID').Value
this.Parent.grdSeatBlocks.Refresh()
this.Parent.grdSeatBlocks.colLevels.cboLevels.ListIndex = 1
thisform.VenuesTree.Enabled = .f.
this.Parent.grdSeatBlocks.SetFocus()
Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform