Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > Other languages > Portuguese Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Ajuda por favor com TABLE.AddCol

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-13-2008, 03:57 PM
Newbie
 
Join Date: Feb 2008
Posts: 6
Default Ajuda por favor com TABLE.AddCol

Tenho este programa, quando abro a form ver receita e depois fecho, volto a abrir sem sair do programa dá erro na linha:
37 - TABLE12.AddRow (TABLE1.Cell ("PADRAO",RAM),TABLE1.Cell ("CLIENTE",RAM))

Att. não pode sair do programa...
Attached Files
File Type: zip estamparia1.0.zip (1.7 KB, 20 views)
Reply With Quote
  #2 (permalink)  
Old 03-13-2008, 05:13 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 993
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

(translated with google...)

Olá PSRC,

Razão pela qual você está tentando adicionar e remover colunas da tabela de cada vez, em vez de definir o tempo. Basta alterar seu código para este:
Code:
Sub Globals
    
'Declare the global variables here.
    rAm = 0 'Record ID
    dataFile1 =   "RECEITAS.csv"
    changes = 
false 'Used for the "save changes before exit" question.
End Sub

Sub App_Start
    ESTAMPARIA.Show
    table1.LoadCSV(
"RECEITAS.csv",",",true,true)
    TABLE12.AddCol(cString,
"PADRAO",90)
    TABLE12.AddCol(cString,
"CLIENTE",120)    
End Sub

Sub ENTRECEITASEST_Click
    MENURECEITAS.Show
End Sub

Sub RECconsulta_Click
    RECEITACONSULTA.Show
End Sub

Sub PORCLIENTE_Click
    TABLE12.Visible=
TRUE
    PORCLIENTE.Visible=
FALSE
    
For I = 0 To TABLE1.RowCount -1
    TABLE12.AddRow (TABLE1.Cell (
"PADRAO",RAM),TABLE1.Cell ("CLIENTE",RAM))
    RAM=RAM+
1
    
Next I
    TABLE12.TableSort(
"CLIENTE ASC")
End Sub

Sub RECEITACONSULTA_Close
    
If TABLE12.Visible=TRUE Then
    TABLE12.Visible=
FALSE
    TABLE12.Clear
    PORCLIENTE.Visible=
TRUE
    
End If
    RAM=
0
End Sub
specci48
Reply With Quote
  #3 (permalink)  
Old 03-13-2008, 05:31 PM
Newbie
 
Join Date: Feb 2008
Posts: 6
Default tanks

tanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve table filter from the filtered table? LineCutter Questions (Windows Mobile) 1 09-08-2008 07:20 AM
helpTABLE.AddCol PSRC Questions (Windows Mobile) 0 03-13-2008 04:23 PM
Ajuda pmsmc Portuguese Forum 1 03-13-2008 01:41 PM
AddCol to Table problem ? HARRY Questions (Windows Mobile) 2 01-14-2008 07:44 PM
Ajuda no GPS mantex Portuguese Forum 3 11-10-2007 08:17 PM


All times are GMT. The time now is 03:55 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0