Search...hypercard import, search almost there...please read

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
threeputter2
Posts: 4
Joined: Sun Jun 29, 2008 5:53 pm

Search...hypercard import, search almost there...please read

Post by threeputter2 » Sun Jun 29, 2008 6:07 pm

Hi...I am new, brand new to Revolution. I am importing 10000 hypercard cards into revolution...I am ok until I try to write code for searching for a name on one of the cards...I need all the help I can get. Please assume I know nothing. Thanks.
Last edited by threeputter2 on Mon Jun 30, 2008 12:14 am, edited 1 time in total.

bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Post by bjb007 » Sun Jun 29, 2008 6:31 pm

threeputter2

I think you'll get this kind of enqiry answered
better in the use-revolution list.

http://lists.runrev.com/mailman/listinfo/use-revolution

or, via email, send a message with subject or body 'help' to

use-revolution-request@lists.runrev.com[/url]

There's recently been a lot of discussion on this
very subject.

It's all archived

http://lists.runrev.com/pipermail/use-revolution/

You can search using

http://www.google.com/advanced_search?q ... runrev.com

Hope this helps.
Life is just a bowl of cherries.

threeputter2
Posts: 4
Joined: Sun Jun 29, 2008 5:53 pm

Thanks but I still don't get it...

Post by threeputter2 » Sun Jun 29, 2008 11:19 pm

I don't get it...Should be a simple answer...i don't read it in the suggested reading material.

gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Post by gyroscope » Sun Jun 29, 2008 11:29 pm

Hi threeputter2, from the limited info you've given (and my limited experience with RR), my guess would be that you have to put all text from fields which contain the info you wish to search for, before you can begin to sort/search. It sounds like a lot of work but I can't see any other way round it...i.e

Code: Select all

put the text of field "SuchandSuch" of card 1 -- of stack "XYZ" --- into field "Collector"
put the text of field "SuchandSuch" of card 2 -- of stack "XYZ" --- after field "Collector"
---etc, all the way up to card 1000 (grief, what a job!) 
Then you can sort and or search easily once this is done.

Hope this is good advice :wink: and its some sort of springboard to get you started...

:)

threeputter2
Posts: 4
Joined: Sun Jun 29, 2008 5:53 pm

thanks..but no thanks...

Post by threeputter2 » Sun Jun 29, 2008 11:32 pm

It is 10,000 cards...

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sun Jun 29, 2008 11:33 pm

Code: Select all

on mouseUp
find "name here" 
if the result = "not found" then
  answer "name here was not found"
end if
end mouseUp
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

threeputter2
Posts: 4
Joined: Sun Jun 29, 2008 5:53 pm

Post by threeputter2 » Mon Jun 30, 2008 12:02 am

now I am close...but i get this

Type Handler: error in command
Object FIND
Line on mouseUp
Hint on

Post Reply