] 64K edittable (OpenInsight Specific)
At 10 MAY 1999 09:26:19PM Jim Vaughan wrote:
If I have an edittable that contains ] 64K of data, does send_message(obj,INSERTCOL,col) still work?
If not (and I can not get it to work), any work arounds?
At 10 MAY 1999 09:30PM Don Bakke wrote:
Jim,
According to the PRG, you cannot use DELETECOL or INSERTCOL. I suppose the best workaround would be to DESTROY and re-CREATE the edittable with the needed number of columns.
dbakke@srpcs.com
At 10 MAY 1999 09:55PM Jim Vaughan wrote:
Thanks Don,
Not the answer I wanted, but thanks anyway.
I wonder if I can use sendmessage to do something?
At 11 MAY 1999 01:09AM Don Bakke wrote:
I wonder if I can use sendmessage to do something?
Do you mean the Win API instead of the Basic+ function? If so, I doubt it since AFAIK Send_Message is a shell for SendMessage. I believe the ProtoView manual says the same thing.
dbakke@srpcs.com
At 11 MAY 1999 04:16PM Jim Vaughan wrote:
Well I have Delete working, calling
SendMessage(handle,DTMRESETDATA,"","")
SendMessage(handle,DTM_DELETECOL,DTA_CURRENT,0)
deletes the column.
You need to put the data back into the table after the above completes.
Now if I can just get insert to work.
At 11 MAY 1999 05:32PM Jim Vaughan wrote:
Actually to delete a col in a 64K edittable :
RetVal=SendMessage(tbl,DTM_RESETDATA,0,0)
RetVal=SendMessage(tbl,DTM_SETACCESSPOS, Col-1,0)
RetVal=SendMessage(tbl,DTM_DELETECOL,DTA_ACCESS,0)
Then place data back in table.