Search found 47 matches

by IbeDBob
17.08.2013, 13:11
Forum: 6.6 - stable
Topic: SQLite and/or Zeos causing crash with win8
Replies: 2
Views: 1647

OK, problem worked around, but not a solution. On a wild Hare, I created a 5G Truecrypt container and formatted it NTFS and copied the Folder structure to it and it all works perfectly. So, while not AN answer, it appears to me that this IS a MSoft problem, or maybe an SQLite3 problem. Suffice to sa...
by IbeDBob
16.08.2013, 03:07
Forum: 6.6 - stable
Topic: SQLite and/or Zeos causing crash with win8
Replies: 2
Views: 1647

SQLite and/or Zeos causing crash with win8

Hi All, I was just copying a system (been working for years on win7) over to win8 and everything runs (9 other programs) except the two apps that use SQLite3. This was built using D5ent and ZEOS 6.6. Can't go to Zeos 7 as it will not compile in D5 and I really do not want to convert this to 2007. Bo...
by IbeDBob
12.07.2013, 22:38
Forum: 6.6 - stable
Topic: How to empty a Table?
Replies: 1
Views: 1480

How to empty a Table?

Hi, did some searching here and nothing helps. Read the Help system, same. tblFiles.EmptyDataSet; Sometimes it shows tblFiles.RecordCount as = to 0 and other times it does not. I need to re-use a temporary Table 30-times per run of my application and I need to empty it before EVERY use. I also tried...
by IbeDBob
17.04.2013, 22:24
Forum: ZeosLib 7.0 Stable Forum
Topic: Not in insert or edit mode error
Replies: 0
Views: 721

Not in insert or edit mode error

Hi all, D5 and SQLite... I have a weird thing going on. I have an application that is working fine until I post some data to another database. It all works as expected and returns to the main screen without error -- but as soon as I click any button on the main form, including "Close" I ge...
by IbeDBob
17.04.2013, 22:13
Forum: ZeosLib 7.0 Stable Forum
Topic: SQLite x64 version -- Anyone?
Replies: 4
Views: 754

Thanks DD, I didn't realize that a 64-bit version would only run on other 64-bit PCs. I thought I had to have the 64-bit for this PC because it was a 64-bit. I am using the 32-bit .dll as the end application will run on both 64 and 32.
by IbeDBob
17.04.2013, 22:11
Forum: ZeosLib 7.0 Stable Forum
Topic: Filtered and Real Record Count?
Replies: 4
Views: 2909

Thanks, I will give that a try.
by IbeDBob
15.04.2013, 20:58
Forum: ZeosLib 7.0 Stable Forum
Topic: Copy record to same table?
Replies: 2
Views: 1583

Thanks for going to that trouble, but I had already tried something like that and it would not copy the data to the new record. It created and empty record. Here's what I tried... for i:=1 to tblFrom.FieldCount-1 do // Start from 1 to skip the AutoInc begin if tblTo.FindField(tblFrom.Fields[i].Field...
by IbeDBob
11.04.2013, 21:48
Forum: ZeosLib 7.0 Stable Forum
Topic: Copy record to same table?
Replies: 2
Views: 1583

Copy record to same table?

Hi All, Is there an easy way to copy a record o the same table? I have an SQLite database that the user may often want to have almost the same stuff in another record, and just change one or two fields. Is there something like BatchMove that I can copy all but the AutoInc field? There are no no uniq...
by IbeDBob
11.04.2013, 21:41
Forum: ZeosLib 7.0 Stable Forum
Topic: Filtered and Real Record Count?
Replies: 4
Views: 2909

Thanks Jan, But that would only be true when the file is opened. If the user adds or deletes records then it will not work. I am getting around it for the time being with a query, this may be useful for others as it ignores any filtering etc... function GetAllRecCount : String; begin qryStock.Close;...
by IbeDBob
02.04.2013, 01:34
Forum: ZeosLib 7.0 Stable Forum
Topic: SQLite x64 version -- Anyone?
Replies: 4
Views: 754

Thanks Jan,

I didn't read the download page fully the first time. I just grabbed the 64-bit Lazarus because I had a 64-bit PC.

I went back and read and it said pretty much use the Lazarus 32-bit and that's what I did.

Thanks for the reply anyway.
by IbeDBob
01.04.2013, 17:27
Forum: ZeosLib 7.0 Stable Forum
Topic: Filtered and Real Record Count?
Replies: 4
Views: 2909

Filtered and Real Record Count?

Hi, D5 and v6 Zeos. I'd like to know the actual RecordCount of a DataSet. If it is Filtered then RecordCount only returns the available records as Filtered. TDbf has an ExactRecordCount which always shows the total Records regardless of Filtering or Indexes. Does Zeos have anything like that? I want...
by IbeDBob
25.03.2013, 20:18
Forum: ZeosLib 7.0 Stable Forum
Topic: SQLite x64 version -- Anyone?
Replies: 4
Views: 754

SQLite x64 version -- Anyone?

Hi All,

I have just installed Lazerus x64 and it appears that Zeos Connection needs an x64 version of SQLite. So far my searches have failed. Anyone know of the existence?

I guess I need to uninstall Lazerus and install the x86 version? Yes? No?

Thanks
by IbeDBob
25.03.2013, 18:47
Forum: ZeosLib 7.0 Stable Forum
Topic: Clear/Set IndexFieldNames - protocol?
Replies: 3
Views: 1237

Thanks for the reply Jan, but if there is an active Index then a sequential edit will not work. The Index has to be cleared before the Edit. Let's say you need to change a bunch of Accounts by resetting a Status Boolean. [align=left] tbl.IndexFieldNames:='Account Asc'; tbl.First; while not (tbl.EOF)...
by IbeDBob
25.03.2013, 14:24
Forum: ZeosLib 7.0 Stable Forum
Topic: Clear/Set IndexFieldNames - protocol?
Replies: 3
Views: 1237

Clear/Set IndexFieldNames - protocol?

Hi All, Is there a procedure for clearing and setting the IndexFieldNames? I have the following code and when I want to Edit an account I have to clear that Index and after the Post I need to reset it. I just want to be sure I am not risking corruption to the Database. Is this OK? If not, how should...
by IbeDBob
25.03.2013, 02:52
Forum: ZeosLib 7.0 Stable Forum
Topic: [solved] Problem with Edit moving cursor to EOF
Replies: 1
Views: 389

OK, problem solved with thanks to another forum. I had a Sequence set in the Table and that was conflicting with one of the updating fields. DUH. I knew it had to be me!! LOL

This Zeos stuff is proving to be very robust. Only used it for a week or so, but am impressed.