Search found 188 matches
- Fri Jun 14, 2024 1:03 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi Bernd, here's my stack i used xamp (mysql) as my database zigzag (database) please download xampp and import this file thanks https://www.apachefriends.org/download.html I have not the slightest idea how to test this. I installed XAMPP downloaded stack and database. Trying to open the stack it a...
- Thu Jun 13, 2024 3:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
- Thu Jun 13, 2024 3:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi Bernd,
here's my stack
i used xamp (mysql) as my database
zigzag (database) please download xampp and import this file thanks
https://www.apachefriends.org/download.html
here's my stack
i used xamp (mysql) as my database
zigzag (database) please download xampp and import this file thanks
https://www.apachefriends.org/download.html
- Thu Jun 13, 2024 7:14 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi lemodizon, based from your example your sql-qry has comma but mine has no comma i guess thats why it doesn't display properly I looked at your sql-query and see the the column delimiter is set to tab and the line delimiter is set to return. You should be able to use the code I provided without "...
- Thu Jun 13, 2024 2:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi stam,
Thanks for the explanation I will try it thanks again i appreciate your help guys.
Thanks for the explanation I will try it thanks again i appreciate your help guys.
- Sun Jun 02, 2024 5:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
I would argue that instead of using this method, use a database cursor and add the columns to the keys of an array. I do this regularly - due to a month of near-daily on-calls, there is not chance for me to get any coding done, but can post an example of what I do at some point when I have time (pr...
- Sun Jun 02, 2024 5:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi lemodizon, based from your example your sql-qry has comma but mine has no comma i guess thats why it doesn't display properly I looked at your sql-query and see the the column delimiter is set to tab and the line delimiter is set to return. You should be able to use the code I provided without "...
- Thu May 30, 2024 4:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi Bernd, this is the sql-qry output from my data sql-qry.png I will revise my code hope i can get it right. thanks based from your example your sql-qry has comma but mine has no comma i guess thats why it doesn't display properly sql.png here is the format from the db that should display to the pol...
- Wed May 29, 2024 5:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
Re: How to align the display records in the polygrid?
Hi Bernd, This is my revised code based from the suggested code you've given to me. #################################################################### function SQLStatement global gConnectionID,gPrjID local tSQLStatement, tlist , set the itemDelimiter to tab put "SELECT cpsn, vps FROM tblartistpro...
- Wed May 29, 2024 2:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to use repeat in polygrid?
- Replies: 4
- Views: 385
Re: how to use repeat in polygrid?
hi Bernd,
thanks for the explanation.
thanks for the explanation.
- Tue May 28, 2024 4:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to align the display records in the polygrid?
- Replies: 21
- Views: 970
How to align the display records in the polygrid?
hello everyone, I was able to get the records from the database using xamp mysql and display it to the polygrid. unfortunately the records displayed scattered in my polygrid. please help me how to arrange here's my code function SQLStatement global gConnectionID,gPrjID local tSQLStatement, tlist put...
- Tue May 28, 2024 3:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to use repeat in polygrid?
- Replies: 4
- Views: 385
Re: how to use repeat in polygrid?
Hi lemodizon, There is tsvData for the polygrid, you can set and get tsvData of a polygrid. The first line is the column headers. That is one way to get at your data, here it seems to be the easiest way. on mouseUp put the tsvData of widget "pgDetails" into tData set the itemDelimiter to tab repeat...
- Tue May 28, 2024 7:48 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to use repeat in polygrid?
- Replies: 4
- Views: 385
how to use repeat in polygrid?
Hi everyone, I want to get the datas from my polygrid the item 1 and item 2 and save it to my database. [img polyfrid_repeat.png ][/img] I tried to run my code but it only get the data the one is highlited from my polygrid put the hilitedline of widget "pgDetails" of stack "ArtistOutputSheet" into t...
- Mon May 27, 2024 1:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to set every 10th and 25th as cut off in a month
- Replies: 4
- Views: 421
Re: how to set every 10th and 25th as cut off in a month
Hi Lemondizon, I changed the script to make it a bit clearer and it calculates the days to the next 10th and 25th of month from today. I assume you want both results. It should be easier now to adapt the script if needed. on mouseUp put the short date into tConvertDate put tConvertDate into fld "Cu...
- Mon May 27, 2024 10:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to set every 10th and 25th as cut off in a month
- Replies: 4
- Views: 421
Re: how to set every 10th and 25th as cut off in a month
Hi Bernd, Thanks for helping me out. This is my first time to use the date and time in livecode kinda little bit confuse in converting. I tried your code it works. but when i tried to put the cut-off days i noticed if i adjusted the date manually for example if the current date is 6/9/24 it will pro...