buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
buttons
is there a code for buttons, for transfering text from several fields and putting them on another card.
i can do this for dropdown buttons, but not a straight out button
as i would like a one "enter" button that would transfer certain text from certain fields to one "say" invoice page ?
thanks
i can do this for dropdown buttons, but not a straight out button
as i would like a one "enter" button that would transfer certain text from certain fields to one "say" invoice page ?
thanks
Hi smash, nice to see you again.
It should be simple enough with a regular button rather than a drop down.
on mouseUp should trigger the action you want when you click the button.
In the button script you would have something like
For anything more than a few simple lines to move then you make this more efficient and less to type/easier to update and maintain by doing more in the way of parsing the fields in a collection, but the above shows how simple it is to copy data from one place to another in a basic way.
It should be simple enough with a regular button rather than a drop down.
on mouseUp should trigger the action you want when you click the button.
In the button script you would have something like
Code: Select all
on mouseUp
put field "field1" of this card into field "field1" of card "invoice"
put field "field2" of this card into field "field2" of card "invoice"
put field "field3" of this card into field "field3" of card "invoice"
put field "field4" of this card into field "field4" of card "invoice"
end mouseUp
thanks mark, i am getting there
now i have four woosies of questions
1)
i am using multible choice boxes, and after i have made upto 6 choices, i am trying to press one button to transfer the information across to 6 different cards.
this what i am trying to use, but it keeps tlling me it can not find the card
and
3) here is the woosie.
how do you put one entries information on 6 different card, so they all go into the correct slot at 50 minute intervels ???
and how do you connect the times to a card.
and
4)
is their a code for a field, that gives a warning if you have used the same number more than once ?
thank you for all your help
now i have four woosies of questions
1)
i am using multible choice boxes, and after i have made upto 6 choices, i am trying to press one button to transfer the information across to 6 different cards.
this what i am trying to use, but it keeps tlling me it can not find the card
2) is there a code for a simple "print page" ?on mouseUp
local theCardName
put "Entries" & menuPick into theCardName
if (field "BridleNumber" is not empty) and (field "HorsesName" is not empty) and (field "RidersName" is not empty) then
put field "BridleNumber" & tab & field "HorsesName" & tab & field "RidersName" & return after field "Entries" of card (theCardName)
put empty into field "BridleNumber"
put empty into field "HorsesName"
put empty into field "RidersName"
go card (theCardName)
else
answer "You have not completed the entry details correctly"
end if
end mouseUp
and
3) here is the woosie.
how do you put one entries information on 6 different card, so they all go into the correct slot at 50 minute intervels ???
and how do you connect the times to a card.
and
4)
is their a code for a field, that gives a warning if you have used the same number more than once ?
thank you for all your help