Hi,
Thank you for your enquiry.
Without seeing the publication in question, it is difficult to be certain what could be causing this. The only thing that springs to mind is that you may have placed your database connection actions within a function, but have not called this function when the page is displayed. However, if this were the case, the function would have most likely have been included in your script excerpt.
I have provided below a link to download a slideshow example which determines the images to be displayed from a database. As you will see, the first record determined as soon as the page is displayed and the image is shown without delay.
Please compare this to your publication to identify where the problem may be occuring. If you have any further problems, please forward your publication .imp file, DSN file and database to
support@digitalworkshop.com and I will be happy to investigate further.
Kind regards,