Search found 114 matches

by cbarbal
Wed Nov 14, 2018 4:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Library in LiveCode
Replies: 5
Views: 668

Library in LiveCode

Hi all, In the YouTube Livecode channel there is the video: Learn to Code: A Local Database with Michael McCreary that uses the libDB.livecodescript library I have a few questions: A library is created as a normal stack and then the livecode extension is changed by livecodescript? It is always an in...
by cbarbal
Tue Nov 13, 2018 2:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with query in SQLite
Replies: 6
Views: 699

Re: Help with query in SQLite

Hi bogs, I already said the first time that my English is Google's, if someone was to feel offended I apologize. Many times what I translate, I return to Spanish and it's not what I want to put ... Messi is considered a "crack" of football, Alejandro is a "crack" of Google for finding the phrase tha...
by cbarbal
Tue Nov 13, 2018 12:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with query in SQLite
Replies: 6
Views: 699

Re: Help with query in SQLite

Hi Al, You are a crack. I had only searched to join three tables in SQLite. After visiting several web pages, in some they say that you can not do with three tables, and looking only to have sql compatible with SQLIte I have found the solution. I put the formula in case it might be of interest to so...
by cbarbal
Mon Nov 12, 2018 10:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with query in SQLite
Replies: 6
Views: 699

Help with query in SQLite

Hi all, I put this same query, more than 20 days ago, in https://es.stackoverflow.com/questions/206097/sqlite-fincas-con-suma-de-ingresos-y-gastos?noredirect=1#comment385456_206097 and they have not given me any solution. I put it in this forum because it has to do with the program that I intend to ...
by cbarbal
Thu Nov 08, 2018 8:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send a script to another stack with parameter
Replies: 3
Views: 468

Re: Send a script to another stack with parameter

The explample of ClipArtGuy and the three of Klaus work perfectly. I can only decide for one, but I know that it can be done in several ways

Now I will have the issue of exporting as Exel and various impressions. :D

Thanks to both of you

Carles
by cbarbal
Thu Nov 08, 2018 7:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send a script to another stack with parameter
Replies: 3
Views: 468

Send a script to another stack with parameter

Hi all,

How can I put quotation marks inside other quotes.

Code: Select all

 send "showFinques "Search"" to cd "Finques" of stack "Lloguers"
Thanks in advance

Carles
by cbarbal
Thu Nov 08, 2018 10:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Searching on the internet I found this link https://use-livecode.runrev.narkive.com ... bstack-why in which Klaus recommends an empty preOpenStack. I had it with pass preOpenStack.

Carles
by cbarbal
Wed Nov 07, 2018 6:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Hi Klaus,

Code: Select all

on mouseUp
   set the width of stack "Suport" to 420
   set the height of stack "Suport" to 160
   
   show group "grpFinques" of stack "Suport"
   go stack "Suport"
end mouseUp
Continue doing preOpenStack ..

Carles
by cbarbal
Wed Nov 07, 2018 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Hi Klaus,

There will be several groups, each one will create the record in the corresponding table. How do I activate them?

I have answered too fast. It is only to omit the "the"

Carles
by cbarbal
Wed Nov 07, 2018 6:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

The same as the demo, changing the names of the stack and the group to Catalan. on mouseUp go invisible stack "Suport" set the width of stack "Suport" to 420 set the height of stack "Suport" to 160 show the group "grpFinques" of stack "Suport" -- hide the group "grpRent" of stack "Suport" show stack...
by cbarbal
Wed Nov 07, 2018 12:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Hi all,

When I press the New Record button I run on preOpenStack in mainStack. I put a preOpenStack in the Support stack with pass preOpenStack, but it does the same to me. The same with closeStack in mainStack.

Any solution

Carles
by cbarbal
Tue Nov 06, 2018 12:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Hi Craig, When referring to "rec" property, is the option position of the Inspector panel? I enclose the demo that I have done. It works, but I do not want the record creation window to lose focus. The user has to choose between Cancel or Save to continue, now if he selects the mainstack pas in the ...
by cbarbal
Mon Nov 05, 2018 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Re: Create new records. Substack, group hidden?

Thanks for the answer Dunbarx. If I have not misunderstood, I give the example of A4 printing and my program 1. I create a 900 x 900 substack 2.1. I create a group with the fields, buttons, etc., of 595 x 842. A4 Portrait 2.2.I create another group with fields, buttons, etc., of 842 x 595. A4 Landsc...
by cbarbal
Mon Nov 05, 2018 4:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create new records. Substack, group hidden?
Replies: 13
Views: 1036

Create new records. Substack, group hidden?

Hi all, My question is the following: I have a stack with the following cards, Estates, floors, tenants, income, suppliers and expenses. What I have thought, I do not know if it is the best option, is to create a substack to enter the new records. Apart from having to pass the data between the subSt...
by cbarbal
Mon Nov 05, 2018 4:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Error trying to run a script on another card
Replies: 4
Views: 418

Re: Error trying to run a script on another card

Danke Klaus,

Thanks for the clarification.

Regards,

Carles

Go to advanced search