Foxtrotter
IS-IT--Management
Hi,
I'm getting an Error# 1252 "Compiled code for this line too long" from foxpro 2.6a trying to execute a simple select statement from a real SQL table using the connectivity kit (fpsql.fll).
I have already read all the stuff about there being a limit of 1024 bytes for the compiled code. The statement I'm trying to execute is simply:
SQLString = "select * from sqltable where id = 123456"
resultcode = dbexec(ConnNo,SQLString,'Results')
No way this is greater than 1024 bytes however, the data coming back has around 95 fields with a record length around 983 bytes.
Can anyone explain what's going on here so I can figure out my workaround? By the way, this works fine in VFP but I have to make this work in an existing Fox 2.6a app.
Thanks for any suggestions.
I'm getting an Error# 1252 "Compiled code for this line too long" from foxpro 2.6a trying to execute a simple select statement from a real SQL table using the connectivity kit (fpsql.fll).
I have already read all the stuff about there being a limit of 1024 bytes for the compiled code. The statement I'm trying to execute is simply:
SQLString = "select * from sqltable where id = 123456"
resultcode = dbexec(ConnNo,SQLString,'Results')
No way this is greater than 1024 bytes however, the data coming back has around 95 fields with a record length around 983 bytes.
Can anyone explain what's going on here so I can figure out my workaround? By the way, this works fine in VFP but I have to make this work in an existing Fox 2.6a app.
Thanks for any suggestions.