Search found 351 matches
- Tue Mar 14, 2017 9:15 am
- Forum: General NeoBook Discussions
- Topic: Recommended Programming Language
- Replies: 15
- Views: 9684
Re: Recommended Programming Language
I stopped using Delphi after years of using it because it was too expensive for a casual programmer to keep updating. Neobook with Database and other add-ons does generally what I need at a very affordable cost. The only things I have not been able to do is create a particular type of custom reports...
- Mon Jan 23, 2017 6:44 pm
- Forum: NeoBookDBPro
- Topic: Primary key for each table
- Replies: 1
- Views: 5731
Primary key for each table
Error message is Bookmark invalid The answer is usually 'create a primary index field such as AutoInc' when using Microsoft Access as the database. Should each Table in the Database have an primary index field? I am still getting this error (from time to time) usually after closing a Report. But not...
- Tue Jan 17, 2017 2:47 pm
- Forum: General NeoBook Discussions
- Topic: DateToNum and leap year
- Replies: 10
- Views: 5859
Re: DateToNum and leap year
Tried for the fun of it but get Errors on Week, Day, Hour and Minutes.
But that's OK.
But that's OK.

- Tue Jan 17, 2017 2:39 pm
- Forum: NeoBookDBPro
- Topic: Report Designer Could not convert
- Replies: 4
- Views: 6267
Re: Report Designer Could not convert
I know AutoInc Primary has been suggested before.
Most the tables have AutoInc Primary fields in this app.
Should all the tables have them?
Most the tables have AutoInc Primary fields in this app.
Should all the tables have them?
- Fri Jan 13, 2017 2:14 pm
- Forum: NeoBookDBPro
- Topic: Sql group by
- Replies: 5
- Views: 7078
Re: Sql group by
To my surprise. I found out the three fields in
must be represented in the GROUP BY clause in order to work.
I believe I found this on a Microsoft questions website.
Code: Select all
SELECT AccountNo,AccountName,AccountType
I believe I found this on a Microsoft questions website.
- Wed Jan 11, 2017 5:29 pm
- Forum: General NeoBook Discussions
- Topic: DateToNum and leap year
- Replies: 10
- Views: 5859
Re: DateToNum and leap year
Thanks for the responses. Gaev, I rounded the answer to 1 decimal place so if it rounded up that would happen. I used my own example. My birthday is in April therefore, I am not one year older until then. So I don't want it rounded up. If I was after April then it should round up. After looking into...
- Wed Jan 11, 2017 12:43 pm
- Forum: General NeoBook Discussions
- Topic: DateToNum and leap year
- Replies: 10
- Views: 5859
DateToNum and leap year
I wanted to write a small routine to determine the age of a person. DateToNum "[DateFld]" "Default" "[NumResult]" DateToNum "[DateShort]" "Default" "[Today]" Math "[Today]-[NumResult]" "0" "[Result]" Math "...
- Tue Jan 10, 2017 8:37 am
- Forum: NeoBookDBPro
- Topic: Protecting field from accidental change
- Replies: 7
- Views: 10060
Re: Protecting field from accidental change
ReadOnly seems to refer to Grid. Would it apply to a Text Field too? Also, to make a change from Temp MemNo to Permanent MemNo, would I have to use dbpSetFieldProperties "Base" "Table" "Field" "ReadOnly=No" Then back to dbpSetFieldProperties "Base" &...
- Mon Jan 09, 2017 6:42 pm
- Forum: NeoBookDBPro
- Topic: Protecting field from accidental change
- Replies: 7
- Views: 10060
Protecting field from accidental change
I have a membership database application with MemNo (member number) field string(12). The Only Text Entry Field is Disabled (not Enabled) which uses MemNo of database field. In theory the only way to changed the MemNo value is through a routine which I developed to Change from a Temporary member num...
- Sun Jan 08, 2017 2:39 pm
- Forum: NeoBookDBPro
- Topic: Sql group by
- Replies: 5
- Views: 7078
Re: Sql group by
Found another statement which works in another section in the code which works as expected by GROUP BY AccountNo. dbpExecSQL "NBAccounting" "INSERT INTO SumPreAccount (AccountNo,AcctSumDB,AcctSumCR,SumDiff) SELECT AccountNo,SUM(InAmt) AS AcctSumDB,SUM(OutAmt) AS AcctSumCR,(SUM(InAmt)-...
- Sun Jan 08, 2017 8:40 am
- Forum: NeoBookDBPro
- Topic: Sql group by
- Replies: 5
- Views: 7078
Re: Sql group by
Tried to try your first statement dbpExecSQL "NBAccounting" "INSERT INTO IncomeExpenseTbl(AccountNo,AccountName,AccountType,TotalDebits,TotalCredits) SELECT AccountNo,AccountName,AccountType,SUM(InAmt) AS TotalDebits,SUM(OutAmt) AS TotalCredits FROM JrDetails;" "" Field...
- Sat Jan 07, 2017 3:24 pm
- Forum: NeoBookDBPro
- Topic: Sql group by
- Replies: 5
- Views: 7078
Sql group by
The following Sql statement works. dbpExecSQL "NBAccounting" "INSERT INTO IncomeExpenseTbl (AccountNo,AccountName,AccountType,TotalDebits,TotalCredits) SELECT AccountNo,AccountName,AccountType,SUM(InAmt) AS TotalDebits,SUM(OutAmt) AS TotalCredits FROM JrDetails WHERE (JrDetailsDate BE...
- Tue Jan 03, 2017 1:54 pm
- Forum: NeoBookDBPro
- Topic: Report Designer Could not convert
- Replies: 4
- Views: 6267
Re: Report Designer Could not convert
Found Report Designer field causing the 'could not convert' message.
I deleted the field and re-did the field and message went away in preview in design mode.
But still haven't found the cause of 'Bookmark invalid' when I close the report.
I deleted the field and re-did the field and message went away in preview in design mode.
But still haven't found the cause of 'Bookmark invalid' when I close the report.
- Mon Jan 02, 2017 6:53 pm
- Forum: NeoBookDBPro
- Topic: Report Designer Could not convert
- Replies: 4
- Views: 6267
Report Designer Could not convert
When doing a Review in Report Designer, I get the message Could not convert variant of Type (String) into Type (Double) Not sure why I am getting this message. Several string fields, some currency, and totals. My suspect that Report designer is try to do a calculation with string or perhaps formatti...
- Wed Dec 14, 2016 1:58 pm
- Forum: NeoBookDBPro
- Topic: Sql Update field
- Replies: 4
- Views: 6759