Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging ADO
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00704999
Message ID:
00705325
Views:
8
Ok, here's my code, with the dubg stuff included:
The resulting text file shows all status codes as zero.

And I'm still getting the error.

Any ideas?
***** DEBUG CODE *****
nHandle = FCREATE("c:\debug_info.txt")

FOR nField = 0 TO oDetailRec.Fields.Count - 1

  cInfo = oDetailRec.Fields(nField).Name + " - " + ;
          TRANSFORM(oDetailRec.Fields(nField).Status) + " - " + ;
          TRANSFORM(oDetailRec.Fields(nField).DefinedSize) + " - " + ;
          TRANSFORM(oDetailRec.Fields(nField).ActualSize) + " - " + ;
          "'" + ALLTRIM(TRANSFORM(oDetailRec.Fields(nField).Value)) + "'"
  
=FPUTS(nHandle, cInfo)

ENDFOR
=FCLOSE(nHandle)
***** DEBUG CODE *****

** Save the record
oDetailRec.Update()
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform