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')
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