Re: Query from two 4D application
Not having ever worked in SQL with 4D, I would take the HTTP route. If they are on the same PC, I would give each a different port to listen on. If on the same network but different PCs then I think some port forwarding will need to be configured on the network router. In either case the requesting PC can simply send the search criteria to the other PC in an HTML get request. If the PC doing the query must return resulting data, then I would pack it in a JASON object (c_object) or XML and return it to the requesting PC. The only draw back that I can see in this scenario is that you will need 1 if not 2 4D web licenses, if you do not already have them. John > On Dec 2, 2017, at 11:23 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Two applications are on the same pc, or in the same network > > Ferdinando > > Il 02/12/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto: >> Message: 4 >> Date: Fri, 1 Dec 2017 22:13:49 -1000 >> From: John Baughman<john...@hawaii.rr.com> >> To: 4D iNug Technical<4d_tech@lists.4d.com> >> Subject: Re: Query from two 4D application >> Message-ID:<b565f529-fbe8-4d84-b4c2-a54525137...@hawaii.rr.com> >> Content-Type: text/plain;charset=us-ascii >> >> Where are the 2 applications located? On the same computer, same LAN, or WAN? >> >> Which application consumes the results of the query? >> >> I am fairly certain, regardless of the answers to the above, http requests >> between the two would work. Web Service might work. >> >> Not sure, but SQL might work as well. >> >> John > > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Query from two 4D application
Two applications are on the same pc, or in the same network Ferdinando Il 02/12/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto: Message: 4 Date: Fri, 1 Dec 2017 22:13:49 -1000 From: John Baughman<john...@hawaii.rr.com> To: 4D iNug Technical<4d_tech@lists.4d.com> Subject: Re: Query from two 4D application Message-ID:<b565f529-fbe8-4d84-b4c2-a54525137...@hawaii.rr.com> Content-Type: text/plain; charset=us-ascii Where are the 2 applications located? On the same computer, same LAN, or WAN? Which application consumes the results of the query? I am fairly certain, regardless of the answers to the above, http requests between the two would work. Web Service might work. Not sure, but SQL might work as well. John ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Query from two 4D application
Where are the 2 applications located? On the same computer, same LAN, or WAN? Which application consumes the results of the query? I am fairly certain, regardless of the answers to the above, http requests between the two would work. Web Service might work. Not sure, but SQL might work as well. John > On Dec 1, 2017, at 8:33 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I use 4D V15 on windows, and i need to do a query from one 4D application to > another 4D application. > How i can do this? > > Thanks > /Ferdinando/ > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Query from two 4D application
Hi All, I use 4D V15 on windows, and i need to do a query from one 4D application to another 4D application. How i can do this? Thanks /Ferdinando/ ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **