General information
Category:
Forms & Form designer
hi,
thank you very much,it works.
best regards
m.qasem
>I think you need to think about what you want to achieve carefully.
>
>If it was me then when I enter the form I would want the first record to be displayed without having to click on a button.
>
>So in the Init of the form I would add:
>
>thisform.text1.value=1 && assuming this is the first record
>thisform.text2.value=nam && i dont know what nam is or what is held in text2
>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+".jpg"
>
>In theory this should mean that when you enter the form the first record is displayed (before you click on any buttons).
>
>Then in the click of the button:
>IF !EOF()
>thisform.text1.value=thisform.text1.value+1
>thisform.text2.value=nam
>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+".jpg"
>SKIP
>ELSE
>skip -1
>ENDIF
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only