Search found 139 matches

by KnightWare
Thu Nov 01, 2018 4:31 pm
Forum: General discussion and questions about Aware IM
Topic: Find Distinct
Replies: 11
Views: 13350

Re: Find Distinct

Database Allocation was setup as default". So, Database & Test Database = 'Default'.
by KnightWare
Thu Nov 01, 2018 12:45 pm
Forum: General discussion and questions about Aware IM
Topic: Find Distinct
Replies: 11
Views: 13350

Re: Find Distinct

I'm using SQL Server envirenment for AIM backend. How do you (best practice) distinguish between the TEST and PRODUCTION envirnement for calling the stored procedure? I can place the procedure in both databases, but the EXEC_SP requires the complete path.
by KnightWare
Thu Nov 01, 2018 12:11 pm
Forum: General discussion and questions about Aware IM
Topic: Find Distinct
Replies: 11
Views: 13350

Re: Find Distinct

That's what I finally ended up doing!
by KnightWare
Wed Oct 31, 2018 7:56 pm
Forum: General discussion and questions about Aware IM
Topic: Find Distinct
Replies: 11
Views: 13350

Find Distinct

Is it possible to Select a distinct list from a BO? I have a BO that contains the attribute Vendor. Can I do a Find from thi Object of just Distinct Vendors? IN SQL it would be -

Select DISTINCT Vendor, VendorName from VendorItems.
by KnightWare
Wed Oct 31, 2018 1:02 pm
Forum: General discussion and questions about Aware IM
Topic: Return Search criteria to form attributes.
Replies: 3
Views: 4496

Re: Return Search criteria to form attributes.

Thanks. Evidently you cannot use Native functions on SQL data. Internal error. Element REPLACE_PATTERN in query condition REPLACE_PATTERN(Vendors.VENDOR,' ','')=VendorLog.Vendor of query FIND Vendors WHERE REPLACE_PATTERN(Vendors.VENDOR,' ','')=VendorLog.Vendor cannot be converted to the currently i...
by KnightWare
Wed Oct 31, 2018 12:18 pm
Forum: General discussion and questions about Aware IM
Topic: SQL Query Form
Replies: 6
Views: 7582

Re: SQL Query Form

So then using native query against BO external to MS SQL, The functions don't work. Trying to select (FIND) data with a date range within the last two months. FIND PAY_PERIODS WHERE PAY_PERIODS.PPED >= DATE_ADD(CURRENT_DATE, -60) Fails, stating it (DATE_ADD) can't be converted to current version of ...
by KnightWare
Tue Oct 30, 2018 8:36 pm
Forum: General discussion and questions about Aware IM
Topic: SQL Query Form
Replies: 6
Views: 7582

Re: SQL Query Form

I used an Alias as per the example. And even If I don't, it complains about the '*', when setting up the SQL Query on the Textual view tab.
by KnightWare
Tue Oct 30, 2018 3:24 pm
Forum: General discussion and questions about Aware IM
Topic: SQL Query Form
Replies: 6
Views: 7582

SQL Query Form

Where is this SQL QUery Form tab? User Guide, Page 430. Desinging a Query on a BO connected to external database, (MS SQL 2012). Using Native "Find" statement - FIND PAY_PERIODS WHERE PAY_PERIODS.COMPANY=103 AND PAY_PERIODS.PPED >= DATE_ADD(CURRENT_DATE,-60) Reults in error - (DATE_ADD.....) cannot ...
by KnightWare
Tue Oct 30, 2018 3:07 pm
Forum: General discussion and questions about Aware IM
Topic: Stored Procedure Query
Replies: 9
Views: 12213

Re: Stored Procedure Query

Now I'm getting -
Internal error. The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "LWS-DB-11" was unable to begin a distributed transaction.

DBA says "The linked server is setup for RPC". So I'm at a stand Still.
by KnightWare
Tue Oct 30, 2018 1:27 pm
Forum: General discussion and questions about Aware IM
Topic: Return Search criteria to form attributes.
Replies: 3
Views: 4496

Return Search criteria to form attributes.

I have two attributes on a Form, Vendor_Number and Vendor_Name. I have a Vendor BO linked to an external SQL DB. Whats the best way to incorporate the External data? I thought a "Search Icon" next to the Vendor_Number text box, but can't seem to figure out how to make that work. The user May know th...
by KnightWare
Thu Oct 25, 2018 2:08 pm
Forum: General discussion and questions about Aware IM
Topic: Stored Procedure Query
Replies: 9
Views: 12213

Re: Stored Procedure Query

MAybe some - The query is going to be called many times from different users. It is a complex stored procedure with parameters. One user may call it with a specific set of params , while another maybe calling it with different params. The results are then going to be exported to excel. I setup a BO ...
by KnightWare
Thu Oct 25, 2018 1:05 pm
Forum: General discussion and questions about Aware IM
Topic: Stored Procedure Query
Replies: 9
Views: 12213

Stored Procedure Query

Can someone describe the steps to call an external (MS SQL) stored procedure that returns a results set. This is to be used for users to export to csv/excel. Using the [EXEC SP ‘proc1’ OF SQLServer WITH ‘@param1’=1,’@param2’=2 RETURN SomeObject] syntax. Is the "SomeObject" , a table in SQL Server th...
by KnightWare
Wed Sep 19, 2018 3:03 pm
Forum: General discussion and questions about Aware IM
Topic: WOrd Wrap in Query Results grid.
Replies: 5
Views: 7801

WOrd Wrap in Query Results grid.

I want one of my cells in a query grid to word wrap. I've tried without success, setting the CSS Style of the attribute as
"word-wrap: normal;". Can this be done on the standard grid, or only in custom layout?
by KnightWare
Fri Jul 13, 2018 6:56 pm
Forum: General discussion and questions about Aware IM
Topic: Query using Promt Form with empty Fields
Replies: 4
Views: 7225

Re: Query using Promt Form with empty Fields

Then again maybe not. More testing.....
by KnightWare
Fri Jul 13, 2018 6:53 pm
Forum: General discussion and questions about Aware IM
Topic: Query using Promt Form with empty Fields
Replies: 4
Views: 7225

Re: Query using Promt Form with empty Fields

This seems to be bringing back ALL the data.