This article is a mirror article of machine translation, please click here to jump to the original article.

View: 24587|Reply: 7

[E4A] The SQLite database content is displayed in a table

[Copy link]
Posted on 3/31/2019 8:22:17 PM | | |
                Result = split text (edit box 1. content, "-")       
                i=Number of array members (result) -1
                The first i>0 of the judgment cycle       
                     Table 1. Add cells (result (i-1), 9, black, &HFFFFFBE8)
                     i=i-1
                Judge the loop tail





Previous:ApexSQL Log--How to recover data in batches after MSSQL data is misoperation
Next:Smooth Python
Posted on 3/31/2019 8:42:05 PM |
Easy language?
 Landlord| Posted on 3/31/2019 10:00:06 PM |

            database table name = "mytable5"       
            Pop-up prompt ("Total number of records:" > Number of records (database table name) > "Items")
                Edit box 1. Content = database query ("SELECT wat,tt,lac,pro,fat,sn,id FROM" > database table name > LIMIT 0,'"& take the number of records (database table name)>'","-","\n") 'Query 3 records starting from 0 (the first item).
                Result = split text (edit box 1. content, "-")       
                i=Number of array members (result) -1
                The first i>0 of the judgment cycle       
                     Table 1. Add cells (result (i-1), 9, black, &HFFFFFBE8)
                     i=i-1
                Judge the loop tail
 Landlord| Posted on 3/31/2019 10:03:09 PM |
The general idea is to filter all the data in the data table according to the routine, then partition the data with the separator "-", store the data in the variable result (), and then write the data of the variable array to the table by looping through the variable array. My code is written in reverse order.
Posted on 4/1/2019 9:19:45 AM |

e4a develops Android apps in Chinese
Posted on 5/16/2019 6:28:21 PM |
andylu321 posted on 2019-3-31 22:03
The general idea is to filter all the data in the data table according to the routine, and then divide the data, the separator is "-", and the data of the division number is ...

Have you done it well, trick me into a routine, I've been learning this recently, and I'm still a little confused
Posted on 9/15/2020 1:36:02 AM |
Recently, I also feel that E4A is a bit weak in terms of database
Posted on 11/28/2020 7:46:30 PM |
warlord01 posted on 2020-9-15 01:36
Recently, I also feel that E4A is a bit weak in terms of database

I have just learned this, and I also want to study databases, and I want to ask you for advice, and I will add you
QQ
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com