VB Problem

Status
Not open for further replies.

Ziycon

Solid State Member
Messages
9
1) When i close the application and then re-open it i have lost everything i did, how do i get the application to keep all data entered incase the application is closed or the system is reset?

2) How can you find out how many elements of an array are full and how many are empty?

Thanks.
 
1) create a table in access (or any other database system),to wich u'll save ur data when u exit ur application.
once ur re-open ur application u can retrieve the data from the database

2) i think that if an array element is empty,it would equal ""
ex. Table[2]=""

therefore make a loop

for i=0 to array_counter
if table="" then
empty_counter=empty_counter+1
else
not_empty_counter=not_empty_counter+1
end if

next i
 
Status
Not open for further replies.
Back
Top Bottom