Jump to content
Sign in to follow this  
rick207

DB recordsets and arrays

Recommended Posts

rick207

Hi All.

I've tried to find solution for my problem in the archives but without a luck. I'd like to perform a Sqlite DB query in function. The return from func should be an array where every element is a dataset (as an array) returned by query. I try with passing an one dimensional array by reference and with every new element I redim this array to get it bigger by one. After return from func the size of array reflects the count of items returned by query, but I can't read the content. Trying the way my_array[x][y] fails. _ArrayDisplay( my_array[x], '' ) displays proper data from array.

Thank you for your helps

Rick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.