Page 1 of 1

Show the same image on neobookdb

PostPosted: Fri Jun 23, 2006 8:03 am
by Rox_Folder
Hi people.
Using example order form from neobookdb to make a catalog i alter to put images but not is working, because on all data show the same image, what is wrong?

thank you

PostPosted: Fri Jun 23, 2006 11:45 am
by Neosoft Support
Can you provide us with a sample publication that shows what you're doing?

PostPosted: Fri Jun 23, 2006 12:00 pm
by Rox_Folder
Hello.
I used the sample order form from neobookdb plugin, so I modified to put my fields, i preserve all code from example so I put 1 field called image, but when i click to go to the next data the image dont change.

example from neobookdb

:LoadDatabase
If "[Loaded]" "<>" "True"
dbfCreate "[PubDir]Parts.dbf" "PartNum,String,5|Desc,String,35|Price,Currency,0|image,Picture,0" "PartsChange"
If "[dbfError]" "=" ""
SetVar "[Loaded]" "True"
GoSub "UpdateLists"
EndIf
EndIf
Return

image dont change when I change on edit window.
Sorry for confuse words, English is not my first language.

PostPosted: Mon Jun 26, 2006 11:31 am
by Neosoft Support
Thanks for the additional information.

First of all, if the parts database already exists in the pub folder, you will need to delete it before you can add any new fields.

Second, in order to display the picture field, you will need to create a Picture object. In the Picture object's "File Name" field, enter the following:

[Parts.Image]

After that, your database should work correctly.

PostPosted: Mon Jun 26, 2006 12:21 pm
by Rox_Folder
Thank you,
with your help is working fine.