BlitzData 1.0 RC5

Community Forums/Showcase/BlitzData 1.0 RC5

Kanati(Posted 2004) [#1]
One more time...

This version includes one new command. BD_SetDebugMode().

This allows the programmer to be able to debug his ADO commands a bit easier so they don't spend two days thinking there's a bug in the DLL when there's really not.......... Ahem. If the debug mode is set to on, then any DLL commands that result in an error will bring up a windows messagebox stating that error.

This is basically a stopgap solution until I add BD_GetLastErrorNumber() and BD_GetLastErrorDescription() which will all the programmer to programmatically handle DLL errors.

In the meantime, hope this helps a bit.

<<link removed -- see RC6 thread >>

Kanati


BlackJumper(Posted 2004) [#2]
Thanks Kanati,

I'm hoping to get some time around Easter to have a play with this.


Wayne(Posted 2004) [#3]
Thanks Kanati,
I'm trying it out.


Wayne(Posted 2004) [#4]
Kanati,
When connecting to the As400 my record count is -1.
I step thru the records and display them one at a time, but after the last one I dont know I'm at EOF and Kaboom on the BD_GetColumn$(Colname$).

How about a BD_Eof ?

Be nice to have:
BD_GetColumnCount%()
BD_GetColumnName$(Ordinal)
BD_GetColumnDataType%(ColumnName$)


Kanati(Posted 2004) [#5]
I can do that...

I currently have a BD_RecordCount() that returns the number of records, but I'll add a EOF and BOF function as well.

Ditto on the other three. I'll add them shortly. Tonight I'm going to be gone all night. So probably won't get to them until tomorrow.

Kanati


Wayne(Posted 2004) [#6]
great!

I'll use a hack till then..
select count(*) count from Table


Kanati(Posted 2004) [#7]
Check the R7 post.