Image field does not update correctly

Questions, tips and tricks and techniques for scripting in Servoy

Image field does not update correctly

Postby automazione » Tue Jun 17, 2003 9:54 am

Servoy R2 1.1 developer rc2 build 257 with Firebird 1.0.3

In a table I defined a media field and filled some records with images. The field definition allows NULL.

I then made a method for printing a single record:

var numrec = controller.recordIndex
controller.omitRecord()
controller.invertRecords()
forms.Stampa_1.controller.print(foundset)
controller.loadAllRecords()
controller.recordIndex = numrec

If I call the method from a record whose image is empty after the print the image that is displayed in the form is the one of the first record of the table, little bug or I'm missing something?

Is there another (better) way to print a single record?

thanks in advance
Enrico Arata
Servoy Italia
automazione
 
Posts: 366
Joined: Thu Apr 24, 2003 11:37 am
Location: Torino, Italy

Postby jcompagner » Thu Jun 19, 2003 9:12 pm

thx for reporting it.
It is fixed in the build after RC3
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Methods

Who is online

Users browsing this forum: No registered users and 4 guests

cron