Source language: Translate to:

Show the same image on neobookdb

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Show the same image on neobookdb

Postby Rox_Folder » Fri Jun 23, 2006 8:03 am

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
The [TRUE] is in here.
User avatar
Rox_Folder
 
Posts: 10
Joined: Wed May 31, 2006 11:55 am

Postby Neosoft Support » Fri Jun 23, 2006 11:45 am

Can you provide us with a sample publication that shows what you're doing?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Rox_Folder » Fri Jun 23, 2006 12:00 pm

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.
The [TRUE] is in here.
User avatar
Rox_Folder
 
Posts: 10
Joined: Wed May 31, 2006 11:55 am

Postby Neosoft Support » Mon Jun 26, 2006 11:31 am

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Rox_Folder » Mon Jun 26, 2006 12:21 pm

Thank you,
with your help is working fine.
The [TRUE] is in here.
User avatar
Rox_Folder
 
Posts: 10
Joined: Wed May 31, 2006 11:55 am


Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests

cron